#include <map>namespace TEngine {using std::multimap;class TCommand
{
public: class Iterator : public multimap<string, TCommand >::iterator //这行出现c2653错误
{
public:
Iterator (multimap<string, TCommand >::iterator itr) : multimap<string, TCommand >::iterator(itr) {}
TCommand& operator *() { return (multimap<string, TCommand >::iterator::operator*()).second; }
};...
error C2653: 'multimap<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class TEngine::TCommand,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<class TEngine::TCommand> >' : is not a class or namespace nameMSDN里面没有c2653的介绍, 谁解释解释, 这个错误怎么消除?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货