
21 Mar
2005
21 Mar
'05
2:29 a.m.
Leon Mergen
However, as far as I can see, for this approach, a scoped_lock will not be the most fantastic solution ? Or am I missing something really crucial about the scoped_lock being able to hold a lock outside a certain scope ? :)
You can always allocate it on the heap and hold it in a smart pointer. -- Dave Abrahams Boost Consulting www.boost-consulting.com