Answers for "how to modify set 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

Browse Popular Code Answers by Language