Problem with iterator, map, shared_ptr and templated class
Hello all,
I am a bit stumped by a compile fault..
This is a fragment of the code
template<typename T>
void LCLogSource<T>::SetLoggers(std::map
James Hughes ha escrito:
Hello all,
I am a bit stumped by a compile fault..
This is a fragment of the code
[...]
for (handlerMap::iterator pos = LogMap.begin(); pos != LogMap.end();
I think this has to be for (typename handlerMap::iterator pos = LogMap.begin(); pos != LogMap.end(); HTH, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
participants (2)
-
James Hughes
-
Joaquín Mª López Muñoz