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

Function find

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

Source from the content-addressed store, hash-verified

56 sentinel. */
57 template<typename BidiIter, typename Sentinel, typename T>
58 BidiIter find(BidiIter first, Sentinel last, T const & x)
59 {
60 while (first != last) {
61 if (*first == x)
62 return first;
63 ++first;
64 }
65 return first;
66 }
67
68 /** A range-friendly compliment to `std::find()`; returns an iterator to
69 the first element not equal to `x`. */

Callers 11

containsMethod · 0.85
callFunction · 0.85
find_line_positionFunction · 0.85
find_line_endFunction · 0.85
case_foldFunction · 0.85
childMethod · 0.85
foreach_subrange_ofFunction · 0.85
searchFunction · 0.85
containsFunction · 0.85
trie_map.hppFile · 0.85
eraseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected