error C2653: 'list<class CSomething*,class std::allocator<class CSomething*> >' : is not a class or namespace name
原因为未引用命名空间,list的命名空间为std
加入:using namespace std;
error C2653: 'list<class CSomething*,class std::allocator<class CSomething*> >' : is not a class or namespace name
原因为未引用命名空间,list的命名空间为std
加入:using namespace std;