Lines Matching refs:Container
32 template <typename Container, typename Predicate>
33 typename Container::iterator find_if(Container& container, Predicate pred) {
34 return std::find_if(container.begin(), container.end(), pred);
37 template <typename Container, typename Predicate>
38 typename Container::iterator remove_if(Container& container, Predicate pred) {
39 return std::remove_if(container.begin(), container.end(), pred);
42 template <typename Container> typename Container::iterator min_element(Container& container) {
43 return std::min_element(container.begin(), container.end());