-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::__ios_failure
when using fmt/ostream.h
#1666
Comments
I don't know why |
And here's Billy O'Neal's explanation why the exception is thrown:
|
Thanks for such a quick fix :) |
Hey, in PyTorch we have some very involved code for printing out Tensor values to a stream that seems to fail when we try to use
fmt
on it. I've extracted a small reproduction of the issue here:Compiling and running this code (fmt version 6.2.0, clang version 10) produces the following output:
I'm not familiar with iostreams, so maybe the FormatGuard is at fault here and you should tell me to go away 😛 . But I thought I'd ask if you had anything jumped out to you.
The text was updated successfully, but these errors were encountered: