Find Pair.first In Vector Code Example Get link Facebook X Pinterest Email Other Apps December 30, 2019 Example: 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; }); Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment