我在vc6里面定义如下语句:
list<string> word,word1,word2,word3;
编译有错误,错误如下:
see reference to class template instantiation 'std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::ba
sic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >' being compiled
sic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >' being compiled
遇到allocator 这个问题好几次了,不知道该怎样解决,望指教!谢谢