how to insert values in a map in c++ code example Example: add items to map in c++ mp.insert({ 2, 30 });