Re: [Boost-bugs] [Boost C++ Libraries] #13478: multi_index_container serialization of non copyable types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13478: multi_index_container serialization of non copyable types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-13 09:23:39


#13478: multi_index_container serialization of non copyable types
-------------------------------------+-------------------------------------
  Reporter: Sébastien Paris | Owner: Joaquín M López Muñoz
  <sebastien.paris@…> |
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: multi_index
   Version: Boost 1.66.0 | Severity: Problem
Resolution: | Keywords: serialization non-
                                     | copyable
-------------------------------------+-------------------------------------

Comment (by Sébastien Paris <sebastien.paris@…>):

 Proposed resolution: modify multi_index_container.hpp:954-955 from
 {{{
       std::pair<node_type*,bool> p=insert_(
         value.get(),super::end().get_node());
 }}}
 to
 {{{
       std::pair<node_type*,bool> p=insert_(
         value.get(),super::end().get_node(),detail::rvalue_tag());
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13478#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-03-13 09:29:23 UTC