Page 1 of 1

map by reference

Posted: Mon Mar 06, 2006 1:48 am
by trulo17
could anyone tell me how to pass a map to a function by reference?

Posted: Mon Mar 06, 2006 2:48 am
by Krzysztof Duleba

Code: Select all

void foo(map<int, int> & mp){
}