
Effective C++
CppCast
00:00
The Motivation for Fixing the Braced Initialization Rule in C++11
I've been trying to find out why that rule exists for at least three years or maybe four years now. I have never found out what the motivation is. So it's one of the mysteries of C++11. It's a real shame because to me it's the reason to just kind of avoid braced initializer just for fear of running into this and having it catch you. N3922, my very favorite proposal in the world, takes two syntaxes that cause trouble and eliminates one of them.
Transcript
Play full episode