News for hackers. Stuff that matters.
Re:C++ compiler accepts explicit constructor call by lmm on Tuesday April 30, 2013 @09:36AM (#5632086)
The example given in the "story" is useful.
Re:C++ compiler accepts explicit constructor call by to3m on Tuesday April 30, 2013 @11:10AM (#5632604)
Not terribly - you can get the same effect with `return Thing()'. This doesn't seem as useful as the similar bug/extension that allows pre-C11 scoped enums (see, e.g., http://stackoverflow.com/questions/441552/scope-resolution-o...).