Answers for "find in set of pairs using first value cpp"

C++
3

find in set of pairs using first value cpp

auto it = std::find_if(st.begin(), st.end(), [](const pair<int,int>& p ){ return p.first == 1; });
Posted by: Guest on July-03-2020

Browse Popular Code Answers by Language