[Bug libstdc++/117402] [C++26] Implement P2363R5 Extending associative containers with the remaining heterogeneous overloads

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 09:02:50 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117402

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Myers <ncm@gcc.gnu.org>:

https://gcc.gnu.org/g:25996a53e81678cf87638801290e136cd2536c4d

commit r16-7890-g25996a53e81678cf87638801290e136cd2536c4d
Author: Nathan Myers <ncm@cantrip.org>
Date:   Tue Feb 10 20:26:47 2026 -0500

    libstdc++: debug impls for heterogeneous insertion overloads (P2363)
[PR117402]

    Implement the debug versions of new overloads from P2363.

    Also, simplify implementation of other overloads to match.

    libstdc++-v3/ChangeLog:
            PR libstdc++/117402
            * include/debug/map.h (try_emplace (2x), insert_or_assign (2x)):
            Define heterogeneous overloads, simplify existing overloads.
            * include/debug/unordered_map: Same.
            * include/debug/set.h (insert (2x)):
            Define heterogeneous overloads.
            * include/debug/unordered_set: Same.


More information about the Gcc-bugs mailing list