Boost logo

Boost :

Subject: Re: [boost] [Smart Ptr] make_shared slower than shared_ptr(new) on VC++9 (and 10) with fix
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-28 06:29:50


On 27/04/12 02:07, Emil Dotchevski wrote:

> You can safely static_cast a void pointer to a pointer of the dynamic type
> of the object the void pointer points.

I don't see how that's relevant.

There is no provision in the standard to support the idea that the
dynamic type of the array subobject in optinal<T> is T.


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