Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.any] Inline allocation of small objects in any.
From: Adarsh Soodan (adarshsoodan_at_[hidden])
Date: 2011-02-09 03:20:45


On Wed, Feb 9, 2011 at 1:24 PM, Adarsh Soodan <adarshsoodan_at_[hidden]>wrote:

> I do not see the exception safety gurantees required of the held value
> object changing from the original any.hpp.
>
> I am using the placed new construction of course. Does it make any
> difference?
>
>
Replying to self in bad form, but just realized the copy constructor of the
held value object can cause inconsistent state. But it is fixable, so will
commit the fix.

-Adarsh Soodan



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