HomeManualTopicsTypesSymbols

std_types::table/std::merge

merges the two tables

Parameters

self
the base table
other
the table to merge
merge_function (default: undefined)
the function used to merge corresponding values

Results

None

Description

If a key is contained in both tables and merge_function is not specified then the value from the other table is used for the merged table.

The merge_function is applied only if both tables contain a value for the same key.

Implements

std::merge merge two collections in a collection specific way