Re: [Boost-bugs] [Boost C++ Libraries] #11229: vector incorrectly copies move-only objects using memcpy

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11229: vector incorrectly copies move-only objects using memcpy
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-26 00:07:23


#11229: vector incorrectly copies move-only objects using memcpy
-------------------------------+------------------------
  Reporter: joseph.thomson@… | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: move
   Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by joseph.thomson@…):

 Assuming that boost::move_detail::is_copy_constructible and
 boost::move_detail::is_copy_assignable work on VC++ (if the tests pass, it
 would seem this is the case), I still don't know if this change fixes the
 bug. The is_memtransfer_copy_constructible and
 is_memtransfer_copy_assignable functions, as far as I can tell, perform
 the same function as is_trivially_copy_constructible and
 is_trivially_copy_assignable, but they still have incorrect
 implementations which rely only on boost::has_trivial_copy and
 boost::has_trivial_assign. Surely you need to change the implementation
 of these functions to fix the problem?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11229#comment:3>
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 : 2017-02-16 18:50:18 UTC