Jump to

wtbs-l2-mapUse

What is the correct way to remove the "GPU" element from the following STL map container ?

#include<map>
#include<string>
using std::map, std::string;

map<string, int> dico = { {"CPU", 10}, {"GPU", 15}, {"RAM", 20} };

???