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 17:51:32


On 28/05/2010 23:30, Ilya Sokolov wrote:
> Ion Gaztañaga wrote:
> What do you think?

It's an option, I just was trying to say that we get a similar guarantee
that a simple rvalue reference based implementation could offer. If we
should add more guarantees because the compiler diagnostics are not good
enough, I'm open to suggestions. Adding a base class is not something I
like because in some C++03 (Msvc I think, empty base classes are not
optimized with multiple inheritance), although maybe the benefits
outweigh the problems.

Thanks for your suggestions,

Ion


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