Boost logo

Boost :

Subject: Re: [boost] [Smart Ptr] make_shared slower than shared_ptr(new) on VC++9 (and 10) with fix
From: Peter Dimov (pdimov_at_[hidden])
Date: 2012-04-26 17:08:06


Mathias Gaunard wrote:
> On 26/04/12 22:08, Jeffrey Lee Hellrung, Jr. wrote:
>
> > Doesn't the same thing happen in boost::optional and boost::variant?
>
> Yes, their code is arguably ill-formed, but I'm sure some people claim
> otherwise.

No, it's not. Provide the standard text that, in your opinion, makes them
ill-formed.


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