https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63198
--- Comment #6 from Thomas Bernard ---
The assignment operator is an operator which always has side effects. That is
why it is considered dependent during template definitions to prevent early
instanciations of code.
By adding a typename before
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63198
--- Comment #5 from Thomas Bernard ---
I think I found the root of the problem. I'm preparing a patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63198
--- Comment #4 from Thomas Bernard ---
I investigated a bit further and I come up to the same conclusion as Bob
Abeles.
Having an assignment operator inside the decltype makes gcc believe the type is
dependent. There are a couple of spots where
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63198
Thomas Bernard changed:
What|Removed |Added
CC||thomas@famillebernardgourio