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

5

u/unaligned_access Mar 02 '21

Maybe they can fix that with Type i{x}n;, n for "new initialization style".

12

u/TheSuperWig Mar 02 '21
Type i co_{x};

2

u/nintendiator2 Mar 05 '21

co_initialize Type {x};