os_binary_search |
Locates an item in a sorted container.
A helper algorithm for binary_search()
. Returns true if value
is in the container c . This algorithm assumes that
the elements in the container are already sorted using operator<
.
#include <ospace/helper/helpalgo.h>
template< class Container, class T >
bool os_binary_search( const Container& c, const T& value )
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.