>147
下です

forit ... {
 if ((it->first == key) && (it->second == value))
  mmap.erase(it);
}
っての作ってみた、やっぱり
>145さんみたいなことしたほうがいいのかな・・・