[Bug c++/12531] Error specializing a class template to form a default value of a constructor argument
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 7 01:48:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12531
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2003-10-07 01:48:31
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-07 01:48 -------
I can confirm this on the mainline (20031006). ICC accepts this. A workaround is to use a static
constant variable in the struct JCF.
More information about the Gcc-bugs
mailing list