combines a map and a reduce operation into a single operation
None
Does not create an intermediate list to hold the "mapped" values.
std::map_reduce | combines a map and a reduce operation into a single operation |
std::map | applies a function to all items of a collection |
std::reduce | computes a kind of sum from the items of a collection |