Do not use pointer to the iterator in the boost::bind arg list, as the contents may be moved by map.