This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30524] Template argument is not recognized as a Type inside a template function.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 08:43:51 -0000
- Subject: [Bug c++/30524] Template argument is not recognized as a Type inside a template function.
- References: <bug-30524-10762@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-21 08:43 -------
You missed the typename keyword which is required to figure out if "S< sizeof(
func( var ) ) >::type " is really a type or a variable.
Read also http://gcc.gnu.org/gcc-3.4/changes.html .
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30524