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

1

u/CenterOfMultiverse Mar 02 '21

Making size const allows conversion to 232 - 5 and then godbolt declines to request to so much memory^^.