Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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);
 
PREVIOUS NEXT
Tagged: #modify #set
ADD COMMENT
Topic
Name
3+8 =