We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code will throw. https://godbolt.org/z/58hM1h94e
#include <fmt/os.h> int main() { fmt::ostream out = fmt::output_file("test-file"); out.print("fail!"); fmt::ostream moved(std::move(out)); moved.print("hello"); return 0; }
The text was updated successfully, but these errors were encountered:
related to #1844
Sorry, something went wrong.
Fix: fmt::ostream cannot be moved while holding buffered data #2197 (#…
1484887
…2198) * Add a test case: move ostream while holding data * Fix moving ostream while holding data Co-authored-by: Junliang HU <[email protected]>
No branches or pull requests
The following code will throw.
https://godbolt.org/z/58hM1h94e
The text was updated successfully, but these errors were encountered: