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

Function ForEach

rtpose_wrapper/src/gtest/gtest-all.cpp:683–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681// Applies a function/functor to each element in the container.
682template <class Container, typename Functor>
683void ForEach(const Container& c, Functor functor) {
684 std::for_each(c.begin(), c.end(), functor);
685}
686
687// Returns the i-th element of the vector, or default_value if i is not
688// in range [0, v.size()).

Callers 6

ClearNonAdHocTestResultFunction · 0.85
~TestCaseMethod · 0.85
ClearResultMethod · 0.85
~TestEventRepeaterMethod · 0.85
~UnitTestImplMethod · 0.85
RunAllTestsMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected