
15 Dec
2005
15 Dec
'05
5:22 p.m.
David Abrahams wrote:
"Peter Dimov" <pdimov@mmltd.net> 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.