|
Subject:
|
Template linking problams...
|
|
Posted By:
|
Avihay
|
Post Date:
|
8/27/2006 2:25:51 AM
|
Hello, I have a cpp and an header which implement a memory pool using template. The class definition is on the .h file, and the class implementation is in the .cpp file. When I compile it, everything's file, but when I try to build the solution, I get lnk2019 (unresolved symbols) for every method of the class. When I move it all to the .h file, I have no problems with the build...
anyone?
Thanks
|
|
Reply By:
|
Ankur_Verma
|
Reply Date:
|
8/27/2006 4:59:41 AM
|
Did you include the header file in the cpp file? Post the initial code of both your hearder file and you Cpp file.
Regards Ankur
|
|