Witam, mam taki oto kod:
//hpp
template<class T>
bool drawCollection(std::vector<T> *collection);
//main
scene->drawCollection<float>(&vec); // std::vector<float> vec
i wyskakuje taki błąd:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: bool __thiscall mv::Scene::drawCollection<float>(class std::vector<float,class std::allocator<float> > *)" (??$drawCollection@M@Scene@mv@@QAE_NPAV?$vector@MV?$allocator@M@std@@@std@@@Z) referenced in function _main
dodam, że metoda drawCollection jest pusta, nie mam pojęcia co zrobić z tym unresolvedem