Say I have two template classes
template < class T >
class Foo
{
/**/
};
and
template < class T >
class Bar
{
/**/
};
how can I specialise Foo
with Bar<T>
??
what is the syntax??
is it
template<>
template<class T>
class Foo<Bar<T>>
{ /**/ };
or
template<class T>
class Foo<Bar<T>>
{ /**/ };
or any other syntax??