Boost C++ Libraries: Ticket #2603: patch for owner_before and owner_less support with shared_ptr/weak_ptr https://svn.boost.org/trac10/ticket/2603 <p> I'm attaching files that add owner_before members to shared_ptr and weak_ptr, and add a boost::owner_less class that supports boost::shared_ptr and weak_ptr as described in n2637. There is also a test program for owner_less. These patches do NOT change the semantics of operator&lt;(), as that would break a lot of code. It merely makes it easier to write code that will be portable across boost::shared_ptr and std::shared_ptr. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2603 Trac 1.4.3 Frank Mori Hess Fri, 19 Dec 2008 20:40:30 GMT attachment set https://svn.boost.org/trac10/ticket/2603 https://svn.boost.org/trac10/ticket/2603 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">owner_before.patch</span> </li> </ul> <p> patch which adds owner_before members to shared_ptr and weak_ptr </p> Ticket Frank Mori Hess Fri, 19 Dec 2008 20:41:03 GMT attachment set https://svn.boost.org/trac10/ticket/2603 https://svn.boost.org/trac10/ticket/2603 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">owner_less.hpp</span> </li> </ul> <p> boost/owner_less.hpp </p> Ticket Frank Mori Hess Fri, 19 Dec 2008 20:41:52 GMT attachment set https://svn.boost.org/trac10/ticket/2603 https://svn.boost.org/trac10/ticket/2603 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">owner_less_test.cpp</span> </li> </ul> <p> libs/smart_ptr/test/owner_less_test.cpp </p> Ticket Peter Dimov Sat, 28 Feb 2009 17:07:55 GMT milestone changed https://svn.boost.org/trac10/ticket/2603#comment:1 https://svn.boost.org/trac10/ticket/2603#comment:1 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket Peter Dimov Fri, 23 Dec 2011 02:59:45 GMT status changed https://svn.boost.org/trac10/ticket/2603#comment:2 https://svn.boost.org/trac10/ticket/2603#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Peter Dimov Fri, 23 Dec 2011 03:00:09 GMT <link>https://svn.boost.org/trac10/ticket/2603#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2603#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/76111" title="Creatively apply patch from #2603. Refs #2603.">[76111]</a>) Creatively apply patch from <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2603" title="#2603: Patches: patch for owner_before and owner_less support with shared_ptr/weak_ptr (closed: fixed)">#2603</a>. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2603" title="#2603: Patches: patch for owner_before and owner_less support with shared_ptr/weak_ptr (closed: fixed)">#2603</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Mon, 26 Dec 2011 00:23:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2603#comment:4 https://svn.boost.org/trac10/ticket/2603#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/76163" title="Merge [76111] to release. Fixes #2603.">[76163]</a>) Merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/76111" title="Creatively apply patch from #2603. Refs #2603.">[76111]</a> to release. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2603" title="#2603: Patches: patch for owner_before and owner_less support with shared_ptr/weak_ptr (closed: fixed)">#2603</a>. </p> Ticket