関数example1からexample2にmultimapのtestMapを引き渡したいのですが
どうしたらうまくいくでしょうか?
以下のような感じなのですが

void example1 (){
MMAP testMap;
testMap.insert(Mvalue([配列]));
}

void example2(MMAP map){
for(MMAP::iterator i=testMap.begin(),end=testMap.end(); i!=end; i++){
cout << *i << endl;
}
}