Boost C++ Libraries: Ticket #3314: erase_tail documentation bug https://svn.boost.org/trac10/ticket/3314 <p> It seems that the documentation for erase_tail function should read </p> <p> \param N Length of the tail </p> <p> instead of </p> <p> \param N Length of the head </p> <p> Currently the following code: </p> <blockquote> <p> std::string str("foobar"); erase_tail(str, 1); </p> </blockquote> <p> causes str to contain "fooba", not "f". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3314 Trac 1.4.3 Steven Watanabe Thu, 06 Aug 2009 16:51:21 GMT owner, component changed https://svn.boost.org/trac10/ticket/3314#comment:1 https://svn.boost.org/trac10/ticket/3314#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Pavol Droba</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">string_algo</span> </li> </ul> Ticket Steven Watanabe Wed, 09 Jun 2010 20:31:28 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3314#comment:2 https://svn.boost.org/trac10/ticket/3314#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62690" title="Tail not head. Fixes #3314">[62690]</a>) Tail not head. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3314" title="#3314: Bugs: erase_tail documentation bug (closed: fixed)">#3314</a> </p> Ticket