search_n « STL Algorithms Non modifying sequence operations « C++ Tutorial






25.14.search_n
25.14.1.Use search_n to find four consecutive elements with value 3
25.14.2.Use search_n with custom function to find four consecutive elements with value greater than 3
25.14.3.search the vector for the occurrence of a certain pattern with search_n