Linker error when using a template class? [duplicate]
问题 This question already has answers here : Why can templates only be implemented in the header file? (16 answers) Closed 2 years ago . I'm getting an "unresolved external symbol "public:__thiscall hijo<int>::hijo<int>(void)" referenced in function_main I started a new project cause I was having this same error on another larger project. The error occur when I try to allocate space using the new keyword. If this error is silly please forgive me cause I haven't programmed anything in the last