MCPcopy Create free account
hub / github.com/IntegralPilot/wasm_os / find

Function find

stdlib/cpp/algorithm.hpp:9–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 // The find algorithm
8 template <class InputIterator, class T>
9 InputIterator find(InputIterator first, InputIterator last, const T& value) {
10 while (first != last) {
11 if (*first == value) {
12 return first;
13 }
14 ++first;
15 }
16 return last;
17 }
18
19 // The remove algorithm
20 template <class ForwardIterator, class T>

Callers 2

solveMethod · 0.85
removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected