Name

union — Union of 2 maps

Synopsis

map union ( map  MAP1 ,
  map  MAP2 );

Parameters

map MAP1

map MAP2

Return

map

Description

Interprets two maps as sets and returns a new map that has all elements of the first map MAP1and all of the second map MAP2. If elements have identical keys, values from MAP2 overwrite elements from MAP1.