c-cpp-notes icon indicating copy to clipboard operation
c-cpp-notes copied to clipboard

Consider using only curly-brace initialization in C++ section

Open BenLangmead opened this issue 7 years ago • 1 comments
trafficstars

https://stackoverflow.com/questions/18222926/why-is-list-initialization-using-curly-braces-better-than-the-alternatives

BenLangmead avatar Jul 12 '18 18:07 BenLangmead

I installed visual studio on my mac. I changed all the settings to c++ 17 and when I initialize to {}; it gives an error message. In my other IDE it does not. I wish I could fix this cos I love Visual Studio

MSeutin avatar Jun 30 '19 07:06 MSeutin