Boost logo

Boost :

Subject: Re: [boost] [ptr_container] Questionable strong guarantee of ptr_map::insert()
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-08-25 09:53:04


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.

In Christ,
Steven Watanabe


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