0

what is the best way to update an element of map data-structure after finding with .at() method in c++?

map<int,int> m;
    //i want to update at 5
    m.at(5)

Answered question