C & C++/STL함수1 [C++] upper_bound()와 lower_bound() 라이브러리에 정의. /* lower_bound */ template ForwardIt lower_bound( ForwardIt first, ForwardIt last, const T& value ); template ForwardIt lower_bound( ForwardIt first, ForwardIt last, const T& value, Compare comp ); /* upper_bound */ template ForwardIt upper_bound( ForwardIt first, ForwardIt last, const T.. 2021. 1. 3. 이전 1 다음