Boost C++ Libraries: Ticket #3721: list::sort() doesn't work if value traits are stateful https://svn.boost.org/trac10/ticket/3721 <p> list::sort() uses temporary lists, constructed in this way: </p> <p> list_impl carry; list_impl counter<a class="changeset" href="https://svn.boost.org/trac10/changeset/64" title="*** empty log message *** ">[64]</a>; </p> <p> the list_impl constructor takes the value traits of the list as an optional argument, which must be passed in case the value traits are stateful. </p> <p> I think it should be </p> <p> list_impl carry(get_real_value_traits()); </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3721 Trac 1.4.3 Ion Gaztañaga Thu, 26 Aug 2010 10:06:21 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/3721#comment:1 https://svn.boost.org/trac10/ticket/3721#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> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.42.0</span> → <span class="trac-field-new">Boost-1.45.0</span> </li> </ul> <p> Fixed for Boost 1.45 in release branch </p> Ticket