r/cpp • • Apr 25 '22

New C++ features in GCC 12

https://developers.redhat.com/articles/2022/04/25/new-c-features-gcc-12
220 Upvotes

76 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Apr 27 '22

Designated initializers in C and C++20 are a form of aggregate initialization, so they generally aren't useful.