I have a map that's indexed with integers as the keys. I can't find anything on this function except for an example that doesn't even use maps. Can anybody help me out?
All I have so far is
But I get the following error: no matching function for call to`swap(int)'