[Bug c++/18976] [3.4 Regression] can't pass anonymous enum to function template
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Tue Dec 14 12:35:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-12-14 12:35 -------
An anonymous enum is an unnamed type with internal linkage, and thus cannot be
used as template argument, as specified by the standard. The error message
could use some refinement of couse, but we already have a PR opened for that.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18976
More information about the Gcc-bugs
mailing list