count_if « STL Algorithms Non modifying sequence operations « C++






1.Use std::count_if to count number of elements in vector that are greater than 9