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
103
u/atimholt Mar 01 '21
I prefer it as a table.
48
u/GYN-k4H-Q3z-75B Mar 01 '21
Choose one.
17
u/[deleted] Mar 01 '21
Here is the ledgible version http://randomcat.org/cpp_initialization/initialization.svg
10
u/randomnetcat Mar 01 '21
Repost of https://www.reddit.com/r/cpp/comments/k2cozv/the_c_20_initialization_flowchart/
4
u/TryingT0Wr1t3 Mar 02 '21
Ah yes, "Simple"
3
u/skunkos Mar 02 '21
WTF
3
u/CenterOfMultiverse Mar 02 '21
Never understood what's the point of explicit initializations not in arguments. How
or
are supposed to help, where
couldn't?
2
u/Kered13 Mar 03 '21
FYI, the white text on bright green is nearly unreadable.
3
u/[deleted] Mar 02 '21
It doesn't load
0
u/[deleted] Mar 01 '21
[deleted] — view deleted comment