
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.
26 квітня 2012 р. 06:17 Ivan Erceg <ierceg@gmail.com> написав:
Yuriy Zubritsky <mt.wizard <at> gmail.com> writes:
Sure, I've attached it to ticked # 6829 I created :) Sorry, I had no time to tell about it till now
:) Thanks. I have adapted your code to be more in SmartPtr style and added #defines leaving non-MSVC part intact. It certainly works much faster though std::make_shared on VC10 is still a bit faster on my box (less than 5% though).
Once I test my changes and make sure I got all the repetitive code right I'll attach it to your ticket.
Thanks, Ivan
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost