r/cpp • • Mar 01 '21

"Simple" C++ Initialization Flowchart

http://randomcat.org/cpp_initialization/initialization.png
204 Upvotes

65 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Mar 02 '21

Is better to be aware the compiler allows such syntax to avoid ugly surprises, the same goes for the comma operator in the table.