Hello again.
Elysia coded this code for me, but I can't ask her so I'll have to ask you peeps :S
Now I cut it abit so that you only have to see the necessary bit...Code:template<typename Type, typename LoadFncT, LoadFncT LoadFnc, void (CALL HGE::* FreeFnc)(Type)> class Resource { public: Type& get() { return m_Resource; } };
When I try to call the get() function from a class that's inherited from Resource, it says
But it works for Elysia, why? :SCode:error C2039: 'get' : is not a member of 'Texture'
Thanks in advance



LinkBack URL
About LinkBacks



