Boost logo

Boost :

Subject: Re: [boost] [variant] Basic rvalue and C++11 features support
From: Peter Dimov (lists_at_[hidden])
Date: 2013-01-08 12:44:35


Nevin Liber wrote:
> Other than destroyable and (possibly) assignable,

Assignable and move-assignable are an absolute requirement, I'd say. I also
consider copy and move construction from a moved-from object part of the
absolute minimum.

> it really is up to the author of the class to define what operations are
> allowed on moved-from objects.

That's trivially true, because "valid" is always defined by the author of
the class. But some definitions are more useful than others.


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