Templated functions inside a class
I have an item class:
Code:
class Citem
{
public:
Citem(){}//for briefness, this isn't my exact code
template<class Target>
bool Use(Target &target);
};
Of course there are other variables and functions, but that is besides the point. When I try to compile, I get an unresolved external error. I know I defined it, and the class I'm passing in has everything required.
What I did notice is when I hit class view (MSVC++), the Use function wasn't there! Help!:confused: