Re:We have C++14
by rozim on Wednesday August 20, 2014 @01:37AM
(#8201211)
Googler here. We avoid doing "work" in constructors as per
the style guide: http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...
[ Parent
| on HN ]
Yeah, that's pretty much what you have to do, and go back to a C-style init method. But then you've lost the benefits of RAII, and you can't necessarily use those types with templates (which won't know about your init method).