Boost logo

Boost :

Subject: Re: [boost] [move] problem with msvc and BOOST_MOVABLE_BUT_NOT_COPYABLE
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2010-05-28 18:24:09


Ion Gaztañaga wrote:
> 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),

IIRC, compilers don't do SBO if the same class is used as a base
multiple times. However, movable<> will be instantiated with different
types most of the time.


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