typename std::map<K,V>::iterator p; template<class K, class V> ///////////////////////////// //////////////////////////// p = mymap.find(Key); if(p != mymap.end()) { if(p->second.get() == val)//Compiler couldn't //recoginise get hy { throw 'a';//Value type cannot match value for previous key } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)