Skip to content

Add missing C++26 insert_or_assign overloads for map and flat_map  #283

Open
@igaztanaga

Description

@igaztanaga

In C++26:

template<class K, class M>
pair<iterator, bool> insert_or_assign(K&& k, M&& obj);

and

template<class K, class M>
iterator insert_or_assign(const_iterator hint, K&& k, M&& obj);

where added under __cpp_lib_associative_heterogeneous_insertion >= 202311L

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions