Subject: Re: [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-04-13 22:57: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: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.66.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------+----------------------
Comment (by viboes):
I believe the issue is that before version 3, Boost.Thread defined itself
boost::move.
You need to define
{{{
#define BOOST_THREAD_VERSION 3
}}}
or higher when you include boost/thread.hpp and want to be compatible with
Boost.Move.
Sorry, but Boost.Thread defined boost::move before it was defined by
Boost.Move.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13480#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 : 2018-04-13 23:03:25 UTC