cptr::detail::basic_ordered_map::insert_or_assign

As above, moving key into the map only if it is inserted.

Synopsis

Declared in <cptr/ordered_map.hpp>

template<class M>
std::pair<iterator, bool>
insert_or_assign(
    K&& key,
    M&& value);