st whether a class represents an execution policy   
(class template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_is_execution_policy&action=edit)  
[ Feature-test ](/w/cpp/utility/feature_test "cpp/utility/feature test") macro  |  Value  |  Std  |  Feature   
---|---|---|---  
[ ` __cpp_lib_parallel_algorithm ` ](/w/cpp/feature_test#cpp_lib_parallel_algorithm "cpp/feature test") |  201603L  |  (C++17)  |  Parallel algorithms   
[ ` __cpp_lib_execution ` ](/w/cpp/feature_test#cpp_lib_execution "cpp/feature test") |  201603L  |  (C++17)  |  Execution policies   
201902L  |  (C++20)  |  [ std::execution::unsequenced_policy ](/w/cpp/algorithm/execution_policy_tag_t "cpp/algorithm/execution policy tag t")  
(since C++17)  
  
###  [ [ edit ](/mwiki/index.php?title=cpp/algorithm&action=edit&section=3
"Edit section: Non-modifying sequence operations") ]  Non-modifying sequence
operations

####  [ [ edit ](/mwiki/index.php?title=cpp/algorithm&action=edit&section=4
"Edit section: Batch operations") ]  Batch operations

Defined in header ` [ <algorithm> ](/w/cpp/header/algorithm
"cpp/header/algorithm") `  
---  
[ for_each  ](/w/cpp/algorithm/for_each "cpp/algorithm/for each") |  applies a function to a range of elements   
(function template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_for_each&action=edit)  
[ ranges::for_each  ](/w/cpp/algorithm/ranges/for_each "cpp/algorithm/ranges/for each") (C++20)  |  applies a function to a range of elements   
(niebloid)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/ranges/dsc_for_each&action=edit)  
[ for_each_n  ](/w/cpp/algorithm/for_each_n "cpp/algorithm/for each n") (C++17)  |  applies a function object to the first N elements of a sequence   
(function template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_for_each_n&action=edit)  
[ ranges::for_each_n  ](/w/cpp/algorithm/ranges/for_each_n "cpp/algorithm/ranges/for each n") (C++20)  |  applies a function object to the first N elements of a sequence   
(niebloid)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/ranges/dsc_for_each_n&action=edit)  
  
####  [ [ edit ](/mwiki/index.php?title=cpp/algorithm&action=edit&section=5
"Edit section: Search operations") ]  Search operations

Defined in header ` [ <algorithm> ](/w/cpp/header/algorithm
"cpp/header/algorithm") `  
---  
[ all_of  any_of  none_of  ](/w/cpp/algorithm/all_any_none_of "cpp/algorithm/all any none of") (C++11)  (C++11)  (C++11)  |  checks if a predicate is  true  for all, any or none of the elements in a range   
(function template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_all_any_none_of&action=edit)  
[ ranges::all_of  ranges::any_of  ranges::none_of  ](/w/cpp/algorithm/ranges/all_any_none_of "cpp/algorithm/ranges/all any none of") (C++20)  (C++20)  (C++20)  |  checks if a predicate is  true  for all, any or none of the elements in a range   
(niebloid)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/ranges/dsc_all_any_none_of&action=edit)  
[ ranges::contains  ranges::contains_subrange  ](/w/cpp/algorithm/ranges/contains "cpp/algorithm/ranges/contains") (C++23)  (C++23)  |  checks if the range contains the given element or subrange   
(niebloid)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/ranges/dsc_contains&action=edit)  
[ find  find_if  find_if_not  ](/w/cpp/algorithm/find "cpp/algorithm/find") (C++11)  |  finds the first element satisfying specific criteria   
(function template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/algorithm/dsc_find&action=edit)  
[ ranges::find  ranges::find_if  ranges::find_if_not  ](/w/cpp/algorithm/ranges/find "cpp/algorithm/ranges/find") (C++20)  (C++20)  (C++20)  |  finds the f