Boost logo

Boost :

Subject: Re: [boost] [thread] Boost.Thread defines boost::move which conflicts with Boost.Move
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2012-01-01 14:16:02


> On 12/31/2011 1:58 PM, Hartmut Kaiser wrote:
> >
> > 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().
>
> That sounds serious. Hartmut, can you file a showstopper for 1.50 so this
> doesn't get lost?

I already filed it: #6341. However, shouldn't it be a show stopper for 1.49?

Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu

>
> --
> Eric Niebler
> BoostPro Computing
> http://www.boostpro.com
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk