Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
throw16180339
· 1mo ago · 0 comments
C++ 20 added designated initializers, but the fields have to be specified in declaration order.
Comments
[–]
kevin_thibedeau
1mo ago
It partially added them. You can't use them out of order or skip members nor can you use the array initializers.