[Bug c++/14258] typename in a using declaration not supported

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 22 11:15:00 GMT 2014


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

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That example's a bit misleading, because 'int' really isn't a class, namespace
or enumeration, but the error's wrong because there could be a specialization
of A<>, and the same error is produced even if A<T>::type is a class type.

Fabien, the fix doesn't seem to work with nested-name-specifiers, do you
remember if there's another bug report about that case?



More information about the Gcc-bugs mailing list