[Bug c++/17605] Using types as names in classes not always allowed
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 22 12:16:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-22 12:16 -------
This is invalid C++, even though it is valid C.
Basically the error message is correct as you cannot change the meaning of a type which you use during
the class in the same class.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17605
More information about the Gcc-bugs
mailing list