[Solved] C++ Unresolved external symbol with Class templates [duplicate]


Templates cannot be compiled like any other source file. Both interface and implementation should live in the header file (although some split them in .hpp files for interface and .ipp files for implementation, and then include the .ipp file at the end of the .hpp file).

How would the compiler know what classes to generate when the template class is compiled?

solved C++ Unresolved external symbol with Class templates [duplicate]