STL之std::set、std::map的lower_bound和upper_bound函数使用说明
由于在使用std::map时感觉lower_bound和upper_bound函数了解不多,这里整理并记录下相关用法及功能。 STL的map、multimap、set、multiset都有三个比较特殊的函数,lower_bound、upper_bound、equal_range。 原型 ...