HomeManualTopicsTypesSymbols

std_types::value_range/std::for_each

iterates over all values within the range

Parameters

self
the value-range to iterate over
body
the statement sequence to execute for each value
finally (default: next)
called after all values have been iterated over

Results

None

Description

The specified function is executed for each value within the range in first-to-last order.

Implements

std::for_each iterates over all items of a collection