[Boost-bugs] [Boost C++ Libraries] #13480: When included <boost\thread.hpp>, boost::move uses implemented in boost\thread\detail\move.hpp instead of boost\move\utility_core.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #13480: When included <boost\thread.hpp>, boost::move uses implemented in boost\thread\detail\move.hpp instead of boost\move\utility_core.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-13 16:37:10


#13480: When included <boost\thread.hpp>, boost::move uses implemented in
boost\thread\detail\move.hpp instead of boost\move\utility_core.hpp
------------------------------------------+------------------------------
 Reporter: Mariano Quesada <mquesada@…> | Owner: Anthony Williams
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: |
------------------------------------------+------------------------------
 Hello,

 Please see the attached file. If fails to build when header file
 "boost\thread.hpp" is included. Apparently when is not include
 "::boost:move" is implemented by "boost\move\utility_core.hpp" but when is
 included then is implemented by "boost\thread\detail\move.hpp".

 In both header files there is a boost::move function and it looks like it
 selects the wrong one. Probably depends on the compiler because this is
 happening in VS2017 but not in VS2013.

 Is there any workaround besides the fix?

 Thank you for your help.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13480>
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 16:42:22 UTC