Hacker News new | ask | show | jobs
by throw16180339 54 days ago
C++ 20 added designated initializers, but the fields have to be specified in declaration order.
1 comments

It partially added them. You can't use them out of order or skip members nor can you use the array initializers.