upper_bound 指定された要素より大きい値が現れる最初の位置のイテレータを取得する equal_range lower_boundとupper_boundの結果を組で取得する binary_search 二分探索法による検索を行う ranges::lower_bound 指定された要素以上の値が現れる最初の位置のイテレータを取得する C++20 range...
lower_bound function\n"; set<int> st; set<int>::iterator it; cout << "inserting 4\n"; st.emplace(4); cout << "inserting 6\n"; st.emplace(6); cout << "inserting 10\n"; st.emplace(10); printSet(st); // printing current set cout << "lower bound of 6 is " << *(st....