------- 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 typename keyword. Fixed by the patch for 33959. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32029