by nrclark · 8y ago · 0 comments
Code in question was:
cout << weekday{October/19/2017} << '\n'; struct S {
int x;
struct Foo {
int i;
int j;
int a[3];
} b;
};
S s1 = { 1, { 2, 3, {4, 5, 6} } };
0 - https://en.cppreference.com/w/cpp/language/aggregate_initial...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