[Bug c++/30524] Template argument is not recognized as a Type inside a template function.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 21 08:43:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list