https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113830
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2024-02-08 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Bo Wang from comment #0) > It appears that if a template function has an internally defined local class > that uses a dependent name in its member function, it can cause the > compiler's name-binding process to get into trouble. Or GCC just doesn't check the default argument because it's not used?