bsl::map<int, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>::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>
iterator
try_emplace(
    const_iterator hint,
    BloombergLP::bslmf::MovableRef<int> key,
    Args&&... args);