The code
Code:
template < typename resource_t >
void Manager<resource_t>::Add_To_List(const std::string & Filename, resource_t *)
{
Resources.insert( std::make_pair( Filename , resource_t *) );
}
And the error
Code:
--------------------Configuration: Resource_Manager - Win32 Debug--------------------
Compiling...
Resource_Manager.cpp
C:\Documents and Settings\colemanjon\Desktop\Resource_Manager 1\Resource_Manager.cpp(70) : error C2059: syntax error : ')'
c:\program files\microsoft visual studio\vc98\include\xmemory(59) : while compiling class-template member function 'void __thiscall Manager<class MS3DModel>::Add_To_List(const class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &,class MS3DModel *)'
Error executing cl.exe.
Creating browse info file...
Resource_Manager.exe - 1 error(s), 0 warning(s)
This is like, the last function that is causing my resource_system to be incomplete, please help!