Boost logo

Boost :

Subject: Re: [boost] [Smart Ptr] make_shared slower than shared_ptr(new) on VC++9 (and 10) with fix
From: Ivan Erceg (ierceg_at_[hidden])
Date: 2012-04-26 15:06:12


Yuriy Zubritsky <mt.wizard <at> gmail.com> writes:

>
> >> and added #defines leaving non-MSVC part intact
> This isn't needed. I wrote it to be cross-platform, and it also implements
> optimization Stephen wrote about ("we know where you live").
> I tested my code on msvc 9 - 11, gcc 4.6, 4.7 and clang.
>

I figured as much re cross-platform but I don't have anything to test with
except VC9/10. I'll drop the related #defines and attach the updated
smart_ptr\make_shared.hpp to your ticket.

Thanks,
Ivan


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