Boost logo

Boost Users :

Subject: [Boost-users] boost replacement for std::ostringstream
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2012-09-06 17:56:52


Hello,

Does boost provide a replacement for std::ostringstream? If so, can
you please tell me the name so I can read the docs on it? The first
thing I am going to read is whether or not such a best would provide
"reserve". I would like to do this:

//-----

std::ostringstream Stream;

// Stream.reserve(99999); // error: std::ostringstream does not provide reserve

Stream.write(pBuffer, 99999);

//-----

Thank you,

Chris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net