MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / find

Function find

extlibs/fmt/include/fmt/format.h:2547–2552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2545// Return the result via the out param to workaround gcc bug 77539.
2546template <bool IS_CONSTEXPR, typename T, typename Ptr = const T*>
2547FMT_CONSTEXPR bool find(Ptr first, Ptr last, T value, Ptr& out) {
2548 for (out = first; out != last; ++out) {
2549 if (*out == value) return true;
2550 }
2551 return false;
2552}
2553
2554template <>
2555inline bool find<false, char>(const char* first, const char* last, char value,

Callers 9

argumentExistsMethod · 0.50
getArgumentValueMethod · 0.50
InputManager.cppFile · 0.50
addMethod · 0.50
isCompleteMethod · 0.50
matchesMethod · 0.50
index_ofMethod · 0.50
findMethod · 0.50
real_find_traitsMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected