|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-20 07:07:20
From: "Jesse Jones" <jesjones_at_[hidden]>
> The copy semantics need to be ironed out. In the code that was posted
> the Windows version can be copied with no problems. The pthreads
> version can also be copied, but I think bad things will happen
> because the mutex is bit-wise copied. Simply disabling copying may be
> OK.
You're right. AFAICS shared_ptr doesn't need to copy the reference count, so
disabling copying seems fine.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk