Correct or Not

is this code is correct or not and why it's correct or not i'm confused help please
1
2
3
4
5
6
7
8

template< class T> 
class A { 
} ; 
template< class T > 
class B : public A< T* > 
{ … } 
What do you mean by correct? As far as I can tell it looks like legal C++ (besides the missing semicolon after the last }
It declares a template class 'A<T>', then declares another template class 'B<T>' that publicly derives from 'A<T*>'
Is this some kind of partially specialized class if it's then please explain i'm confused
No, this is not template specialization at all.
Topic archived. No new replies allowed.