Re:What can C++ do for embedded systems developers? [video]
by Game_Ender on Monday September 24, 2018 @12:09PM
(#18058868)
It's "aggregate initialization" [0]
0 - https://en.cppreference.com/w/cpp/language/aggregate_initial...
[ Parent
| on HN ]
Re:What can C++ do for embedded systems developers? [video]
by planteen on Monday September 24, 2018 @03:20PM
(#18060560)
I don't think that is what is going on, this is invoking the constructor for the weekday class with the "modern" uniform initilization syntax. This solves the old C++ most vexing parse problem.
https://en.wikipedia.org/wiki/Most_vexing_parse
It seems like this is the C++ class in question: https://howardhinnant.github.io/date/iso_week.html