From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-04-12 12:56:47
-----BEGIN PGP SIGNED MESSAGE-----
On Friday 11 April 2008 16:14 pm, Anthony Williams wrote:
> The lock types have a (private, unimplemented) assignment operator
> with the signature above, as well as the move assignment operator in
> order to prevent accidental moving: moving has to be explicit if
> you've got an lvalue rhs. A non-const lvalue will bind to the "normal"
Ah, thanks for the explanation. On an unrelated note, it looks like
upgrade_lock is missing the fancier 2 argument constructors. Its
documentation mentions it can do deferred locking, but it doesn't have a
defer_lock_t constructor for example.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----