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

Function find_if

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

Source from the content-addressed store, hash-verified

82 sentinel. */
83 template<typename BidiIter, typename Sentinel, typename Pred>
84 BidiIter find_if(BidiIter first, Sentinel last, Pred p)
85 {
86 while (first != last) {
87 if (p(*first))
88 return first;
89 ++first;
90 }
91 return first;
92 }
93
94 /** Range-friendly version of `std::find_if_not()`, taking an iterator and
95 a sentinel. */

Callers 5

erase_for_next_parseMethod · 0.85
find_line_endFunction · 0.85
eraseMethod · 0.85
eraseMethod · 0.85
foreach_subrange_ifFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected