#include
#include
using namespace std;
Template
Class A
{
ListLST.
Unordered_map & lt; The Type, listM1;//OK
//unordered_map & lt; The Key, list: : iterator> M2;//how the ERROR correction???
Unordered_map & lt; The Type, list: : iterator> The m3.//OK
};
Int main () {
return 0;
}
CodePudding user response:
The list template parameters are two, but don't you write when you use specific types at ordinary times, because there is a default, if it is a template parameter, should write out the second, is the alloc