Boost logo

Boost :

Subject: Re: [boost] [move] problem with msvc and BOOST_MOVABLE_BUT_NOT_COPYABLE
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-05-28 16:31:11


On 28/05/2010 21:27, Ilya Sokolov wrote:
> X(const X&) = delete;
> X& operator=(const X&) = delete;

Ok, but we are talking about rvalue references and asking if Boost.Move
provokes some late error report. It's a shame we can't provoke a
compilation error always (even with NVRO, I thought the compiler should
check for the copy constructor, but I'm not an expert), but that's the
best we can do.

Best,

Ion


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