Boost logo

Boost :

Subject: Re: [boost] [ptr_container] Questionable strong guarantee of ptr_map::insert()
From: Jeffrey Bosboom (jbosboom_at_[hidden])
Date: 2009-08-26 04:54:34


Steven Watanabe wrote:
> AMDG
>
> Jeffrey Bosboom wrote:
>> For the record, if the argument was an auto_ptr&, I would expect the
>> auto_ptr to still own the resource if an exception was thrown,
>> although I don't know how to implement it (moving back into the
>> auto_ptr might throw too).
>
> auto_ptr operations never throw.

Oh. Duh. That's what I get for trying to talk about auto_ptr having
not used it for years.

Thank you for correcting my ignorance.

--Jeffrey Bosboom


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