Assume I have a class with different constructors:
class A { public: A(char* string) { //... } A(int value) { //.. }
You can use the template class:
template class A { protected: type T; public: void A(type t_curr) {T = t_curr;};//e.g.--- void check() {} };