0
How can I write it in MyClass.cpp
7 Answers
+ 2
Do you want to learn templates?
0
i wana write Template Specialization in .cpp file
0
Just see if it helps
https://code.sololearn.com/cHgvG8f3xY1E/?ref=app
0
there is a constructor inside a template specialization . i wana write it in a separate cpp file
0
like
template<>
MyClass::MyClass<char>()
{some code
}
it is incorrect but it would be like this
0
still confused thanks anyway .