This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21510] Possible bug
- From: "sven at clio dot in-berlin dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2005 09:48:48 -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 sven at clio dot in-berlin dot de 2005-05-12 09:48 -------
(In reply to comment #1)
> I don't think you used SFINF correctly.
The substitution of the formal parameter with the actual argument fails, thus
it is a form of substitution failure. I do not know, if the example is
conforming to the standard. It would be a working method to distinguish
between classes and non classes. On the other hand the more stricter
interpretation is more safe.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21510