This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21510] Possible bug
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2005 12:37:45 -0000
- Subject: [Bug c++/21510] Possible bug
- References: <20050511102800.21510.sven@clio.in-berlin.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-05-15 12:37 -------
The code is invalid. In the section 14.8.2 [temp.deduct] paragraph 2 of the
standard
does not include creating a class with invalid base class. Examples of valid
SNINF cases:
- Attempting to create an array with an element type that is void, a function type,
or a reference type, or attempting to create an array with a size that is zero
or negative.
- Attempting to use a type that is not a class type in a qualified name.
etc. (there are many more they are clearly mentioned in the mentioned part of
standard)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21510