cppreference.com
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::ranges::
for_each,
std::ranges::
for_each_result
From cppreference.com
<
cpp
|
algorithm
|
ranges
C++
Compiler support
Freestanding and hosted
Language
Standard library
Standard library headers
Named requirements
Feature test macros
(C++20)
Language support library
Concepts library
(C++20)
Diagnostics library
Memory management library
Metaprogramming library
(C++11)
General utilities library
Containers library
Iterators library
Ranges library
(C++20)
Algorithms library
Strings library
Text processing library
Numerics library
Date and time library
Input/output library
Filesystem library
(C++17)
Concurrency support library
(C++11)
Execution control library
(C++26)
Technical specifications
Symbols index
External libraries
[edit]
Algorithm library
Constrained algorithms and algorithms on ranges
(C++20)
Constrained algorithms, e.g.
ranges::copy
,
ranges::sort
, ...
Execution policies
(C++17)
is_execution_policy
(C++17)
execution::seq
execution::par
execution::par_unseq
execution::unseq
(C++17)
(C++17)
(C++17)
(C++20)
execution::sequenced_policy
execution::parallel_policy
execution::parallel_unsequenced_policy
execution::parallel_unsequenced
(C++17)
(C++17)
(C++17)
(C++20)
Non-modifying sequence operations
Batch operations
for_each
for_each_n
(C++17)
Search operations
all_of
any_of
none_of
(C++11)
(C++11)
(C++11)
count
count_if
mismatch
equal
find
find_if
find_if_not
(C++11)
find_end
find_first_of
adjacent_find
search
search_n
Modifying sequence operations
Copy operations
copy
copy_if
(C++11)
copy_backward
copy_n
(C++11)
move
(C++11)
move_backward
(C++11)
Swap operations
swap
iter_swap
swap_ranges
Transformation operations
replace
replace_if
transform
replace_copy
replace_copy_if
Generation operations
fill
fill_n
generate
generate_n
Removing operations
remove
remove_if
unique
remove_copy
remove_copy_if
unique_copy