HomeManualTopicsTypesSymbols

std_types::value_range/std::map

applies a function to all values and returns a list of the results

Parameters

self
the value-range which items will be mapped
function
the function to apply to each element of the value-range

Results

None

Implements

std::map applies a function to all items of a collection

See also

std::reduce computes a kind of sum from the items of a collection
std::map_reduce combines a map and a reduce operation into a single operation