MCPcopy Create free account
hub / github.com/boostorg/parser / find_not

Function find_not

include/boost/parser/detail/text/algorithm.hpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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. */

Callers 2

foreach_subrangeFunction · 0.85
foreach_subrange_ofFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected