Some suggestions:
Use typedefs:
typedef multimap<char,int> char2int;
typedef char2int::iterator char2map_it;
char2map mymm;
char2map_it it,it1,it2;
pair<char2map_it, char2map_it> ret;
There's no need to repeat long type names all over the place. One design decision should, if possible, be expressed in one place (or as few as possible): Now I can change from a map from chars to ints to a map from chars to std::strings by changing one line, for example.
Use make_pair from #include <utility>:
mymm.insert(make_pair('a', 10));
None of this is related to your question...
Steve