News for hackers. Stuff that matters.
Re:Initialization in C++ is Seriously Bonkers by stonescarecrow on Sunday January 06, 2019 @02:01AM (#18837016)
> An empty initializer list should reasonably behave like a default constructor

True. But an empty initializer list should also behave like, you know, the constructor which uses an initializer list. C++ is in the unfortunate position of having to choose one behaviour or the other. Either choice is reasonable, but both can be confusing.

There are no comments on this comment yet.