In C++ you can have the first definition of a template class. However you cannot have a template typedef. In
C++0x this will be supported but for now the only thing that you can do is to have a typedef within a template struct, which will add a bit of un-necessary redundancy to the code
template <typename T>;
class C {...};
template <typename T>;
typedef T ;
No comments:
Post a Comment