MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / find

Function find

src/toml.hpp:2112–2120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2110
2111 template <typename Iterator, typename T>
2112 TOML_PURE_GETTER
2113 inline auto find(Iterator start, Iterator end, const T& needle) noexcept //
2114 ->decltype(&(*start))
2115 {
2116 for (; start != end; start++)
2117 if (*start == needle)
2118 return &(*start);
2119 return nullptr;
2120 }
2121
2122 template <typename T>
2123 TOML_PURE_INLINE_GETTER

Callers 3

const_iterator findFunction · 0.85
parse_table_headerMethod · 0.85

Calls 2

emptyFunction · 0.85
endFunction · 0.85

Tested by

no test coverage detected