在VC6.0中使用关联容器map
在VC6.0写了个很简单的测试程序
#include <iostream>
#include <vector>
#include <map>
#include <string>
using namespace std;
map <string,int> count;
int main()
{
return 0;
}
结果出现了好多关于map的警告
C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,int>,std::map<std::basic_string<char,std::char_traits<char>,std::al
locator<char> >,int,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<int> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<int> >::_Redbl' : identi
fier was truncated to '255' characters in the debug information
Linking...
007_map.exe - 0 error(s), 61 warning(s)
是不是在VC中不能使用某些容器啊?
请指教.