Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.any] Inline allocation of small objects in any.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-02-09 09:44:42


AMDG

On 2/8/2011 11:54 PM, Adarsh Soodan wrote:
> On Wed, Feb 9, 2011 at 1:07 PM, Nevin Liber<nevin_at_[hidden]> wrote:
>
>> What are your exception safety guarantees compared with the current
>> implementation of boost::any?
>>
>
> I do not see the exception safety gurantees required of the held value
> object changing from the original any.hpp.
>

What about swap? swap is no-throw now.

> I am using the placed new construction of course. Does it make any
> difference?
>

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net