is it possible to templatize a derived class?

supposed i have class A, using the type string.

but i want to derive class B from class A, but templatizing it. supposed i wanted to use some of class A's functions...does the type passed have to be casted to type string?