glebspy
asked on
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>'
?
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>'
?
There is none, it is not in the language.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.