4 ms·
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 o
by planteen 8y ago
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 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 https://howardhinnant.github.io/date/iso_week.html