Try to emplace an element with a movable key.

Synopsis

Declared in <bslstl_map.h>

Description

Same as the preceding try_emplace overload, for movable keys.

Return Value

pair of iterator and whether a new element was inserted

Parameters

Name

Description

key

key to move into the new element

args

constructor arguments for the mapped value

Created with MrDocs