| 95 | a sentinel. */ |
| 96 | template<typename BidiIter, typename Sentinel, typename Pred> |
| 97 | BidiIter find_if_not(BidiIter first, Sentinel last, Pred p) |
| 98 | { |
| 99 | while (first != last) { |
| 100 | if (!p(*first)) |
| 101 | return first; |
| 102 | ++first; |
| 103 | } |
| 104 | return first; |
| 105 | } |
| 106 | |
| 107 | /** Analogue of `std::find()` that finds the last value in `[first, last)` |
| 108 | equal to `x`. */ |
no outgoing calls
no test coverage detected