Hi,

does anyone know whether there exist any possibility to obtain (a pointer to) the container an STL-iterator refers to?

For example:
Consider many std::maps all of (e.g.) type std::map<int, float>.
Now you have an iterator of type std::map<int, float>::iterator which belongs to one of these maps and you want to know to which of them it refers to. Is there any possibility to find out (e.g. any function of the iterator which returns a pointer to the container)?

Thanks in advance,
Physicus.