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

Method contains

Libraries/Containers/Vector.h:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 /// @see Algorithms::contains
198 template <typename U>
199 [[nodiscard]] bool contains(const U& value, size_t* index = nullptr) const noexcept
200 {
201 return Algorithms::contains(*this, value, index);
202 }
203
204 /// @brief Finds the first item in array matching criteria given by the lambda
205 /// @see Algorithms::findIf

Callers 1

generateUniqueKeyMethod · 0.45

Calls 1

containsFunction · 0.70

Tested by

no test coverage detected