Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取我正在测试的元素的迭代器 in binary-search。但它只返回一个bool指示它是否找到该值。如何获取迭代器?
binary-search
bool
您需要lower_bound、upper_bound或equal_range。