New paper: N3750, C++ Ostream Buffers -- Lawrence Crowl
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3750
Date: 2013-09-01
C++ Ostream Buffers
by Lawrence Crowl
Excerpt:
We propose an
ostream_buffer, that provides access to a matchingbasic_ostringstreamfor buffering output operations. Theostream_buffer, will atomically transfer the contents of thebasic_ostringstreamto an ostream on destruction of theostream_buffer.
