This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51593] alias templates fail in dependent contexts requiring ::template


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-16 22:48:40 UTC ---
This works:
using type = typename wrap<T>::template type<T>;

Which seems correct as you need to say "wrap<T>::template type<T>" is a type.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]