[PATCH] D20334: [libcxx] Fix a bug in strstreambuf::overflow

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 11:18:46 PDT 2016


ahatanak added a comment.

My understanding is that typically std::ends is explicitly appended to null-terminate the stream buffer. The test case in the example does that.

http://en.cppreference.com/w/cpp/io/ostrstream/str


http://reviews.llvm.org/D20334





More information about the cfe-commits mailing list