Boost logo

Boost :

Subject: Re: [boost] [ptr_container] Questionable strong guarantee of ptr_map::insert()
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-08-18 12:17:31


AMDG

David Abrahams wrote:
> I think the implementation of ptr_map::insert is probably as correct as
> can be in doing that deletion (i.e. the docs are wrong, not the
> implementation), but if I had written ptr_map I'd have given it an
> auto_ptr parameter instead.
>

There is an overload that takes an auto_ptr.

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