Build the element from args, then insert it unless its key is present; returns the element with that key and whether it was inserted. As for std::unordered_map, the element is built first, even when the key turns out to be present (try_emplace avoids that). If the hash, the key comparison or a rehash throws, the element is destroyed and the map is unchanged.
Declared in <cptr/unordered_map.hpp>
template<class... Args>
requires std::constructible_from<value_type, Args...>
std::pair<iterator, bool>
emplace(Args&&... args);