Answers for "can we modify set in c++"

C++
1

how to modify set C++

auto cmp = [](int a, int b) {return a > b;}; //somethings you want to do with your set
set<int, decltype(cmp)> s(cmp);
Posted by: Guest on June-14-2021

Code answers related to "can we modify set in c++"

Browse Popular Code Answers by Language