Boost C++ Libraries: Ticket #6223: Wrong documentation for slist::splice https://svn.boost.org/trac10/ticket/6223 <p> Two splice / splice_after calls are not correctly documented at <a href="http://www.boost.org/doc/libs/1_48_0/doc/html/boost/intrusive/slist.html#id1203131-b">http://www.boost.org/doc/libs/1_48_0/doc/html/boost/intrusive/slist.html#id1203131-b</a> </p> <ol start="47"><li>iterator splice_after(const_iterator prev, slist &amp; x) ; </li></ol><p> Requires: prev is an iterator to an element or x.end()/x.before_begin() in x. </p> <ol start="51"><li>void splice(const_iterator it, slist &amp; x, const_iterator * last = 0); </li></ol><p> Requires: it is an iterator to an element in x. </p> <p> In both cases (as in all other splice calls) the first parameter must be an iterator into this and not x. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6223 Trac 1.4.3 Ion Gaztañaga Fri, 23 Dec 2011 09:54:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6223#comment:1 https://svn.boost.org/trac10/ticket/6223#comment:1 <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> Thanks. Fixed in trunk </p> Ticket