MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / find

Function find

Libraries/Containers/Array.h:85–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 /// @see Algorithms::findIf
84 template <typename Lambda>
85 [[nodiscard]] bool find(Lambda&& lambda, size_t* index = nullptr) const
86 {
87 return Algorithms::findIf(Parent::begin(), Parent::end(), move(lambda), index) != Parent::end();
88 }
89
90 /// @brief Removes all items matching criteria given by Lambda
91 /// @see Algorithms::removeIf

Callers 1

PluginTestMethod · 0.50

Calls 3

findIfFunction · 0.85
beginFunction · 0.85
endFunction · 0.85

Tested by 1

PluginTestMethod · 0.40