#include using namespace std; template class Moja { public: void fun(); void fun_2(); }; template void Moja::fun() { cout << "Standardowa funkcja" << endl; }; template void Moja::fun_2() { cout << "Standardowa funkcja nr. 2" << endl; }; template <> void Moja::fun() { cout << "Funkcja do typu char" << endl; }; int main() { Moja test; Moja test_2; test.fun(); test_2.fun(); test.fun_2(); test_2.fun_2(); return 0; }