https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590
--- Comment #3 from Janez Zemva ---
Sorry for my last comment. I have prepared a more involved example:
https://github.com/user1095108/ca/blob/master/consttests.cpp
If
test();
is commented out, everything compiles, otherwise not.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590
--- Comment #2 from Janez Zemva ---
Very nice, but if I write:
int main()
{
static constexpr S<10> s;
return 0;
}
there will still be a compile error.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112590
Mital Ashok changed:
What|Removed |Added
CC||mital at mitalashok dot co.uk
--- Comment