error C2146: 语法错误: 缺少“;”(在标识符“ITERATOR”的前面)
template <class T, int COUNT>class CDoubleList{public: typedef std::list<T*> LIST; typedef std::list<T*>::iterator ITERATOR;public: CDoubleList(); virtual ~CDoubleList();private: CRITICAL_SECTION m_critical_section;protected: LIST m_0_list; LIST m_1_list;private: inline void Init();};
typedef CDoubleList<IOCP_IO,10> IO_GROUP;typedef CDoubleList<IOCP_KEY,10> KEY_GROUP;typedef IO_GROUP::ITERATOR IO_POS;typedef KEY_GROUP::ITERATOR KEY_POS;