Work function invokes sequential (i.e., STL) search_n
. Returns information about matches found in the range as well as partial matches found at the front and back of the range.
More...
Public Member Functions | |
range_search_n (size_t count, T value, const Predicate predicate) | |
template<typename View > | |
tuple< size_t, bool, typename View::index_type, typename View::index_type, size_t > | operator() (View const &v) const |
Work function invokes sequential (i.e., STL) search_n
. Returns information about matches found in the range as well as partial matches found at the front and back of the range.
T | Type of the value which is being searched for. |
Predicate | Functor which is used to compare element equality. |
std::search_n
.