[Bug c++/45964] The compiler does not complain about a required template keyword.

mschulze at ivs dot cs.ovgu.de gcc-bugzilla@gcc.gnu.org
Mon Oct 11 14:03:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45964

--- Comment #8 from Michael Schulze <mschulze at ivs dot cs.ovgu.de> 2010-10-11 14:03:46 UTC ---
Ok. If I understand the standard correct is the template keyword on the
following places 

const int A<a>::template B<b>::value = A<a>::template B<b>::C::value;

correct but optional, right? The online Comeau accepts this without errors,
however, gcc gives me an error on the first template keyword.



More information about the Gcc-bugs mailing list