forked from boostorg/algorithm
Add range-based overloads of find*_backward().
This commit is contained in:
@ -43,10 +43,10 @@ our find condition.
|
||||
InputIter find_not(InputIter first, Sentinel last, T const & x);
|
||||
|
||||
template<typename Range, typename T>
|
||||
typename boost::range_iterator<Range>::type find_not(Range & r, T const & x);
|
||||
boost::range_iterator<Range> find_not(Range & r, T const & x);
|
||||
|
||||
The function `find_not` returns the first value in the sequence `[first,
|
||||
last)` that is not equal to `x`.
|
||||
The function `find_not` returns the first value that is not equal to `x` in
|
||||
the sequence `[first, last)` or `r`, respectively.
|
||||
|
||||
[heading Examples]
|
||||
|
||||
@ -72,6 +72,10 @@ Linear.
|
||||
`find_not` takes its parameters by value and do not depend upon any global
|
||||
state. Therefore, it provides the strong exception guarantee.
|
||||
|
||||
[heading Notes]
|
||||
|
||||
`constexpr` in C++14 or later.
|
||||
|
||||
[endsect]
|
||||
|
||||
[/ File equal.qbk
|
||||
|
Reference in New Issue
Block a user