|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2004-07-08 08:51:33
On Jul 8, 2004, at 7:56 AM, Peter Dimov wrote:
> One might argue that a lock is naturally moveable...
It is.
> but I think that we
> should constrain ourselves to (fixing) the current noncopyable
> scoped_lock
> idiom.
Agreed. I don't particularly want to tackle truly moving locks until I
have an rvalue-reference to do it with. The auto_ptr-like hacks are
downright demotivating. ;-(
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk