0

How can I write it in MyClass.cpp

6th Nov 2019, 7:51 AM
Shayan Ahmad Khan
Shayan Ahmad Khan - avatar
7 Respuestas
+ 2
Do you want to learn templates?
9th Nov 2019, 2:50 AM
Avinesh
Avinesh - avatar
0
i wana write Template Specialization in .cpp file
9th Nov 2019, 5:39 AM
Shayan Ahmad Khan
Shayan Ahmad Khan - avatar
9th Nov 2019, 5:46 AM
Avinesh
Avinesh - avatar
0
there is a constructor inside a template specialization . i wana write it in a separate cpp file
9th Nov 2019, 5:50 AM
Shayan Ahmad Khan
Shayan Ahmad Khan - avatar
0
like template<> MyClass::MyClass<char>() {some code } it is incorrect but it would be like this
9th Nov 2019, 5:52 AM
Shayan Ahmad Khan
Shayan Ahmad Khan - avatar
0
still confused thanks anyway .
9th Nov 2019, 6:08 AM
Shayan Ahmad Khan
Shayan Ahmad Khan - avatar