You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the suggestion. The formatting functions such as fmt::print already support output to stdout, but I agree that it would be nice to have similar functionality in the write API. The main issue that has to be solved is buffer management. Since fmt::BasicWriter already uses the output buffer, the FILE's one is probably redundant and file descriptors should be used instead.
Since BasicWriter is mainly an optimization, it will likely be superseded by the format API with compile-time handling of format strings (#546). It might still be there for compatibility reasons but there is little reason to extend it to support writing to files, etc.
Hi,
it would be great if
fmt
could fill this omission, it could then be used as a replacement ofiostream
s.The text was updated successfully, but these errors were encountered: