Boost C++ Libraries: Ticket #1932: move semantics for shared objects (patch) https://svn.boost.org/trac10/ticket/1932 <p> In the interprocess library, move semantics are provided for all the container types using boost::interprocess::move(). </p> <p> The code for move semantics is (mostly) present in the shared object types and shared_region, but something is missing for it to actually work for these classes: the necessary specialization of the 'is_movable' trait, and the correct signature on the copy constructor and assignment operators. </p> <p> Attached is a patch that fixes "movability" for several types: file_mapping, shared_memory_object, mapped_region, windows_shared_memory, managed_head_memory, managed_external_buffer. </p> <p> The problem is a little harder for managed_shared_memory, managed_mapped_file, and managed_windows_shared_memory, because they derive from detail::managed_open_or_create_impl, which currently does not have a default constructor. I chose not to dig into that at this time. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1932 Trac 1.4.3 Bryan Green <bryan.d.green@…> Mon, 19 May 2008 18:37:29 GMT attachment set https://svn.boost.org/trac10/ticket/1932 https://svn.boost.org/trac10/ticket/1932 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">interprocess_movable.patch</span> </li> </ul> <p> patch </p> Ticket Ion Gaztañaga Fri, 23 May 2008 23:23:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1932#comment:1 https://svn.boost.org/trac10/ticket/1932#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> Fixed in revision 45705 with movable managed classes </p> Ticket