[Bug c++/85127] Members implementation outside class doesn't compile if class name is an alias from a using
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 08:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85127
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-04-03
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
G++ says
t.C:11:16: error: invalid use of incomplete type ‘class Base<T>’
void B<T>::foo() {
^
t.C:2:7: note: declaration of ‘class Base<T>’
class Base {
^~~~
More information about the Gcc-bugs
mailing list