HomeManualTopicsTypesSymbols

std_types::generic_list/std::map

applies a function to all elements of the list

Parameters

self
the list which items will be mapped
function
the function to apply to each element of the list

Results

None

Description

A list of the "mapped" items is returned.

Topic

Lists

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