Template Inheritance | Sololearn: Learn to code for FREE!


Template Inheritance

You mean that template classes cannot be inherited or only the specialized template classes that cannot be inherited ?

3/10/2017 8:42:46 AM

Fady Nabil Samy

1 Answer

New Answer


templates can already be whatever data type they want. so you would be a class with all functionality then pass any dataType into it rather than having a parent class and the child class only having one dataType.