I have a problem in my Mng.h
file like this
Error C2146: syntax error : missing ';' before identifier 'it_Data'
& val_Data
& it_Ref
& val_Ref
#include <string>
#include <map>
template <class T> class CMng
{
protected:
typedef std::map<std::string, T*>::iterator it_Data;
typedef std::map<std::string, T*>::value_type val_Data;
typedef std::map<T*, int>::iterator it_Ref;
typedef std::map<T*, int>::value_type val_Ref;
What could be the problem?