Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Move] Conflict between std::move and boost::move (Boost 1.49.0)
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-08-01 07:46:02


on Wed Jul 11 2012, Ion Gaztañaga <igaztanaga-AT-gmail.com> wrote:

> El 10/07/2012 23:55, Jeffrey Lee Hellrung, Jr. escribió:
>
>> ADL doesn't really seem appropriate here, does it? Sounds like you
>> intend to call std::move regardless of the arguments.
>
> I agree. You should qualify std::move or "using std::move";.

The latter doesn't disable ADL; it just makes the std:: version visible
without ADL.

-- 
Dave Abrahams
BoostPro Computing                  Software Development        Training
http://www.boostpro.com             Clang/LLVM/EDG Compilers  C++  Boost

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net