Is MMIDList a map<>?Code:Itr = MMIDCache.insert(Itr, MMIDList::value_type(NMKey, MMIDStructs));
If yes, value_type is a typedef:
so you want to use of of the pair's constructors:Code:typedef pair<const Key, T> value_type;
You can see that all constructors require values, not types, as parameters.Code:pair(); pair(const T& x, const U& y); template<class V, class W> pair(const pair<V, W>& pr);




Reply With Quote