
29 May
2010
29 May
'10
12:22 a.m.
At Fri, 28 May 2010 22:31:11 +0200, Ion GaztaƱaga wrote:
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,
Yes, a conforming compiler checks for it and issues a diagnostic if it isn't accessible, whether or not it's actually used.
but I'm not an expert), but that's the best we can do.
-- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com