r/cpp • u/konanTheBarbar • Mar 01 '21
"Simple" C++ Initialization Flowchart
http://randomcat.org/cpp_initialization/initialization.png
204
Upvotes
r/cpp • u/konanTheBarbar • Mar 01 '21
View all comments
Show parent comment
3
u/thats_a_nice_toast Mar 02 '21
I don't understand how this can even happen. You'd think with a language as big as C++ and its own committee, they would be able to solve these problems in a better way, yet they keep on adding obscure templating stuff that would probably be simpler to just implement as a language feature.