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

Function ForEach

tests/gtest/gtest-all.cc:685–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

ClearNonAdHocTestResultFunction · 0.85
~TestSuiteMethod · 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