I have tried to write a template class. It seems that when I write the constructor in classname.cpp not in classname.h, then it could be compiled correctly.
Could someone explain this to me?
I have tried to write a template class. It seems that when I write the constructor in classname.cpp not in classname.h, then it could be compiled correctly.
Could someone explain this to me?