C++ Logo


Advanced search

Re: [isocpp-lib-ext] LEWG(I) Weekly review - P2549R0: Should the output of std::print to a terminal be synchronized with the underlying stream?

From: Herring, Davis <herring_at_[hidden]>
Date: Thu, 7 Apr 2022 20:34:11 +0000
> * To indicate your opinion on whether a change is needed
> (reasoning is, of course, welcome):
> * If you support the status quo (no change): please response
> with "No Change"
> * If you think a change is needed (synchronize the output with
> the underlying steam): please response "+1"

+1 -- defining writing to a stream via std::print as not writing to the stream is broken. Obviously flushing the buffer and _then_ writing directly is fine.


Received on 2022-04-07 20:34:14