Boost C++ Libraries: Ticket #9259: errors in iostreams container_device example https://svn.boost.org/trac10/ticket/9259 <p> Hi, </p> <p> I've been considering container_device as a more controllable alternative to std::stringstream (to append to a std::vector&lt;char&gt;). I came across two off-by-one errors in the seek() implementation, and a problem in write() which could result in excess characters being written when the container is non-empty to start with. </p> <p> I'll attach a patch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9259 Trac 1.4.3 Chris Foster <chris.foster@…> Fri, 18 Oct 2013 00:27:39 GMT attachment set https://svn.boost.org/trac10/ticket/9259 https://svn.boost.org/trac10/ticket/9259 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">container_device.diff</span> </li> </ul> <p> Patch for container_device </p> Ticket