HomeManualTopicsTypesSymbols

std::map

applies a function to all items of a collection

Parameters

None

Results

None

Description

The function results are collected in a collection of the same type as the original collection.

The function applications might be executed in parallel!

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
std::filter returns a collection containing all the items that fullfill the filter-condition

Implemented by

std_types::association_list applies a function to all values of the association list
std_types::binary_table applies a function to all values of the key order table
std_types::generic_list applies a function to all elements of the list
std_types::hash_table applies a function to all values of the hash table
std_types::insert_order_table applies a function to all values of the insert order table
std_types::key_order_table applies a function to all values of the key order table
std_types::value_range applies a function to all values and returns a list of the results