From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-12-15 12:22:39
David Abrahams wrote:
> "Peter Dimov" <pdimov_at_[hidden]> writes:
>> You can use px.reset( function().release() ), as there is a reset(
>> Y* ).
> I feel compelled to point out that this idiom opens exception safety
> holes where the other one wouldn't.
I don't think it does... both are strong guarantee.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk