MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ArrayAwareFind

Function ArrayAwareFind

tests/gtest/gtest.h:7470–7476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7468// equals elem. Element may be a native array type itself.
7469template <typename Iter, typename Element>
7470Iter ArrayAwareFind(Iter begin, Iter end, const Element& elem) {
7471 for (Iter it = begin; it != end; ++it) {
7472 if (internal::ArrayEq(*it, elem))
7473 return it;
7474 }
7475 return end;
7476}
7477
7478// CopyArray() copies a k-dimensional native array using the elements'
7479// operator=, where k can be any integer >= 0. When k is 0,

Callers

nothing calls this directly

Calls 1

ArrayEqFunction · 0.85

Tested by

no test coverage detected