
26 Apr
2012
26 Apr
'12
7:06 p.m.
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