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



Paolo Carlini <paolo.carlini at oracle dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED

         Resolution|                            |INVALID



--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-21 
23:46:39 UTC ---

The correct syntax is:



template <typename Second>

using TypedefName = SomeType<OtherType, Second, 5>;



ie, no "typename". You can find a good set of examples in the testsuite as:

testsuite/g++.dg/cpp0x/alias-decl-*

Reply via email to