Boost C++ Libraries: Ticket #12810: feature parity between boost::intrusive_ptr and boost::interprocess::intrusive_ptr https://svn.boost.org/trac10/ticket/12810 <p> Dear all, i'd like to request to bring boost::interprocess::intrusive_ptr interface up to the level of boost::intrusive_ptr, more specifically to add the move operators and e.g. release() method, as discussed on the mailing list (copy below). thanks, Mikolaj </p> <p> On 13/01/2017 13:42, Mikolaj Krzewicki wrote: </p> <blockquote class="citation"> <p> Dear all, would it be possible to add the rvalue operators to interprocess::intrusive_ptr akin to what is already available in "regular" boost::intrusive_ptr: </p> <p> <em> Move support </em></p> <p> #if !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) </p> <blockquote> <p> intrusive_ptr(intrusive_ptr &amp;&amp; rhs) BOOST_NOEXCEPT : px( rhs.px ) { </p> <blockquote> <p> rhs.px = 0; </p> </blockquote> <p> } </p> </blockquote> <blockquote> <p> intrusive_ptr &amp; operator=(intrusive_ptr &amp;&amp; rhs) BOOST_NOEXCEPT { </p> <blockquote> <p> this_type( static_cast&lt; intrusive_ptr &amp;&amp; &gt;( rhs ) ).swap(*this); return *this; </p> </blockquote> <p> } </p> </blockquote> <p> #endif </p> </blockquote> <p> Sure, please fill a ticket so this is not forgotten. </p> <p> Best, </p> <p> Ion </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12810 Trac 1.4.3 John Maddock Sat, 25 Feb 2017 18:36:05 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12810#comment:1 https://svn.boost.org/trac10/ticket/12810#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ion Gaztañaga</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">intrusive</span> </li> </ul> Ticket