bsl::map::try_emplace

Insert at the specified hint using a movable key and the specified constructor args, or return an iterator to an existing entry.

Synopsis

Declared in <bslstl_map.h>

template<class... Args>
map<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator
try_emplace(
    const_iterator hint,
    BloombergLP::bslmf::MovableRef<KEY> key,
    Args&&... args);