Home | History | Annotate | Download | only in gtest

Lines Matching refs:Container

678 // STL container utilities.
680 // Returns the number of elements in the given container that satisfy
682 template <class Container, typename Predicate>
683 inline int CountIf(const Container& c, Predicate predicate) {
687 for (typename Container::const_iterator it = c.begin(); it != c.end(); ++it) {
694 // Applies a function/functor to each element in the container.
695 template <class Container, typename Functor>
696 void ForEach(const Container& c, Functor functor) {