| 69 | the first element not equal to `x`. */ |
| 70 | template<typename BidiIter, typename Sentinel, typename T> |
| 71 | BidiIter find_not(BidiIter first, Sentinel last, T const & x) |
| 72 | { |
| 73 | while (first != last) { |
| 74 | if (*first != x) |
| 75 | return first; |
| 76 | ++first; |
| 77 | } |
| 78 | return first; |
| 79 | } |
| 80 | |
| 81 | /** Range-friendly version of `std::find_if()`, taking an iterator and a |
| 82 | sentinel. */ |
no outgoing calls
no test coverage detected