on Sat Oct 04 2008, JoshuaMaurice-AT-gmail.com wrote:
> And I really, really like exceptions and RAII. Damn. Disclaimer: This
> doesn't kill all of RAII, but it kills some of it. It effectively
> forces two phase construction for most classes if you want efficient
> code on all platforms, and that makes me very sad.
And how, exactly, is two-phase construction going to save you cycles?
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Are throwing default constructors bad style, and if so, why?