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-23 16:43:29


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

Comment (by anonymous):

 To clarify, I meant that the `std::is_trivially_copyable` is broken in
 VC++. In fact, it is a synonym for
 `std::is_trivially_copy_constructible`, which is just wrong.
 `__has_trivial_copy` is just one requirement of both
 `std::is_trivially_copyable` and `std::is_trivially_copy_constructible`.
 That said, I haven't even looked at how `boost:has_trivial_copy` and
 `boost::has_trivial_assign` are implemented on VC++.

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