Схемы шаблонных наследований: ![Шаблонное наследование](15_01.%20Шаблонное%20наследование.png) ```cpp template class vector_pointer : private vector { public: vector_pointer(); void print() const { vector::print(); } void input(T* d) { vector::input(d); } T* find(T* d) const { return reinterpret_cast(vector::find(d)); } }; vector_pointer v1, v2, v3; vector_pointer t1, t2, t3; ``` ```cpp template class student { public: protected: }; template class aspirant : public student { public: protected: }; class aspirant : public student { public: protected: }; ```