[求助]包含时错误
需要用到这个关联容器类,但是#include<map>时错误,编译器给出的错误都是map类源文件里面的.按说这个类是标准库定义的类,应该不会出现错误啊.
大家有没有遇到过这种情况的?
以下错误都定位在map类源文件里面:
e:\vc98\include\xtree(629) : error C2059: syntax error : '?'
e:\vc98\include\xtree(629) : error C2065: '_Y' : undeclared identifier
e:\vc98\include\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
e:\vc98\include\xtree(629) : error C2143: syntax error : missing ',' before ')'
e:\vc98\include\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
e:\vc98\include\xtree(632) : error C2976: '_Tree' : too few template arguments
附件是从VC98目录里拷贝过来的map源文件.