--- Comment #7 from jason at gcc dot gnu dot org 2008-01-28 16:33 ---
The version with "class" is also valid.
14.6p5: A qualified name used as the name in a mem-initializer-id, a
base-specifier, or an elaborated-type-specifier is implicitly assumed to name a
type, without the use of the
--- Comment #6 from reichelt at gcc dot gnu dot org 2008-01-26 14:07
---
The 4.2 branch is now also back to accepts-invalid.
This is due to the fix for PR 33959.
--
reichelt at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #5 from pcarlini at suse dot de 2008-01-24 12:02 ---
In mainline is now back to accepts-invalid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32029
--- Comment #4 from reichelt at gcc dot gnu dot org 2007-12-26 20:58
---
Confirmed.
The correct syntax for the default parameter is the one that works:
typename Factory0Arg::template Factory
I get an ICE since GCC 3.4.0.
Before, the code was wrongly accepted.
--
reichelt at gcc do