News for hackers. Stuff that matters.
Re:C++ Fun with(out) keyword explicit by 72deluxe on Tuesday December 01, 2015 @04:59AM (#10654432)
I put the default constructor in private and mark the constructor I want everyone to use (typically the only one) as explicit. Seems safer than implicit conversions.

There are no comments on this comment yet.