HomeManualTopicsTypesSymbols

std_types::key_order_set/std::reduce

reduces a set into a single value

Parameters

self
the set to work on
reduce_function
the function to apply to pairs of values
unit (default: undefined)
the value to return for empty sets

Results

None

Implements

std::reduce computes a kind of sum from the items of a collection