64,666
社区成员
发帖
与我相关
我的任务
分享
#include <list>
#include <unordered_map>
using namespace std;
template<typename Type>
class A
{
list<Type> lst;
unordered_map<Type, list<Type>> m1; //OK
//unordered_map<Key, list<Type>::iterator> m2; //ERROR 如何改正???
unordered_map<Type, list<int>::iterator> m3; //OK
};
int main() {
return 0;
}