Template typedefs

template<class T>
class A{};

template<class T>
typedef A<T> B<T>;


doesn't seem to work.

What is the correct syntax for saying

`for all class T, B<T> is an alternative name for A<T>'

?
LVL 1
glebspyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
KangaRooCommented:
There is none, it is not in the language.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.