MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / ArrayAwareFind

Function ArrayAwareFind

rtpose_wrapper/src/gtest/gtest.h:7660–7666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7658// equals elem. Element may be a native array type itself.
7659template <typename Iter, typename Element>
7660Iter ArrayAwareFind(Iter begin, Iter end, const Element& elem) {
7661 for (Iter it = begin; it != end; ++it) {
7662 if (internal::ArrayEq(*it, elem))
7663 return it;
7664 }
7665 return end;
7666}
7667
7668// CopyArray() copies a k-dimensional native array using the elements'
7669// 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