The following code compiles and run with Clang (tested on 13, 14, and current git head), but not with GCC.
struct foo {
int field<0, 1, int, 3>;
};
But I do not understand what it is declaring: what is this field ?
int field<0, 1, int, 3>;
I can put whatever I want in the field<>
template (if it is even a template?), e.g. field<0, 1, int, 3>
compiles and run. But I cannot access it afterwards.