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-26 16:06:26
On 26/04/12 19:41, Dave Abrahams wrote:
> on Thu Apr 26 2012, "Stephan T. Lavavej"<stl-AT-exchange.microsoft.com> wrote:
>>> Each is optimally sized (in particular, make_shared/allocate_shared
>>> implement the "we know where you live" optimization that I have
>>> previously described
>> [Dave Abrahams]
>>> I can't find that description. Pointer please?
>> (which also has links to my slides - viewable online even without
>> PowerPoint), in particular Slide 6.
> 9:30 or so in the video.
Explicit destructor calls on memory that doesn't come from the free store?
Sounds like there are potential strict aliasing problems there.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk