title: Swapping keys and values of a map in C++
body: <p>I'm looking for a function in C++ that  for swap the contents of a map ... 
  that is:
  those that were the keys now become the items and those that the items were now the keys. 
  Can you tell me if there is something about this?</p>