4 ms·
This issue is what stopped me contributing to the C++ standard. We knew brace initialisation was broken before C++11 came out, even std::vector was a mess.
by CJefferson 10y ago
This issue is what stopped me contributing to the C++ standard. We knew brace initialisation was broken before C++11 came out, even std::vector was a mess.
- gpderetta 10y agoWell, the issue is not brace initialization per se, but the ambiguity with initilalizer_list.
- CJefferson 10y agoYes, either feature in isolation would have been an improvement to C++, but their combination was a mess. Probably one of the features shouldn't have been added, or their combination needed some serious tidying.