News for hackers. Stuff that matters.
Re:The long goodbye to C by slavik81 on Friday November 10, 2017 @07:49PM (#15674336)
I'm not sure I would call it a nice syntax. std::initializer_list was a questionable addition to C++ because its syntax clashes with other forms of initialization. It ends up creating special cases and complicating generic code. They fixed some of its problems in C++14, and we might see more improvements in C++20, but the entire idea of that syntax creating a special object feels like a mistake.

There are no comments on this comment yet.