std::map problems
std::map<std::string, SomeClass *> testMap;
in case of
testMap[someString] = pointerToObject;
everything works fine, but at
testMap.insert(make_pair(someString, pointerToObject));
it doesnt insert anything, it seems.
any ideas why this happens?
GCC 2.95
in case of
testMap[someString] = pointerToObject;
everything works fine, but at
testMap.insert(make_pair(someString, pointerToObject));
it doesnt insert anything, it seems.
any ideas why this happens?
GCC 2.95
