
8 Jan
2013
8 Jan
'13
5:44 p.m.
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.