Boost logo

Boost :

From: Russell Hind (rhind_at_[hidden])
Date: 2003-07-21 02:55:53


Jon Biggar wrote:
>
> In the thread lock case, the throw avoids the undefined behavior
> entirely, since it doesn't ever do the underlying OS lock action that
> causes the undefined behavior.
>

Wouldn't a throw in operator -> of shared_ptr achieve the same thing?

Thanks

Russell


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk