From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-05-08 10:27:06
-----BEGIN PGP SIGNED MESSAGE-----
On Thursday 08 May 2008 10:03 am, Peter Dimov wrote:
> It does have a default constructor. Movable types have to have an "empty"
> state in which to put the moved-from source, and the default constructor of
> a movable type usually creates such an "empty" object. (The proposed
> promise doesn't adhere to this "convention" though.)
My recollection is that the requirements are looser: a move can leave the
moved-from source in any state it likes as long as it doesn't violate any of
the class' specified invariants.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk