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

Go to topic 48846

Return to index page 192
Return to index page 191
Return to index page 190
Return to index page 189
Return to index page 188
Return to index page 187
Return to index page 186
Return to index page 185
Return to index page 184
Return to index page 183