Leftover from #28280 (review):
try_emplace doc states
- Behaves like emplace except that the element is constructed as value_type(std::piecewise_construct, std::forward_as_tuple(std::move(k)), std::forward_as_tuple(std::forward<Args>(args)...))
The DANGER part in the method's name refers to:
NOT FOR GENERAL USE