[Boost-bugs] [Boost C++ Libraries] #6341: Boost.Thread defines boost::move which conflicts with Boost.Move

Subject: [Boost-bugs] [Boost C++ Libraries] #6341: Boost.Thread defines boost::move which conflicts with Boost.Move
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-01 15:59:14


#6341: Boost.Thread defines boost::move which conflicts with Boost.Move
-------------------------------------+--------------------------------------
 Reporter: hkaiser | Owner: atompkins
     Type: Bugs | Status: new
Milestone: Boost 1.49.0 | Component: thread
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 VC10, SVN trunk:
 {{{
 #include <boost/move/move.hpp>
 #include <boost/thread.hpp>

 int main()
 {
     return 0;
 }
 }}}
 Results in:

 .../boost/thread/detail/move.hpp(28) : error C2995:
 'remove_reference<T>::type &&boost::move(T &&)' : function template has
 already been defined .../boost/move/move.hpp(466) : see declaration of
 'boost::move'

 IMHO, Boost.Thread needs to be changed to rely on Boost.Move for move
 semantics instead of defining its own implementation for boost::move().

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6341>
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:08 UTC