set pair cpp code example
Example 1: 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; });
Example 2: make pair in c++
Pair_name = make_pair (value1,value2);
#Abhay Tiwari IITP