Skip to content

[libc++] P3372R3: constexpr unordered_set #128668

Open
@frederick-vs-ja

Description

@frederick-vs-ja

Make unordered_set constexpr as part of P3372R3.

Note that the constexpr-ness largely requires a user-defined hash functor.

Feature-test macro (also covers constexpr unordered_multiset):

#define __cpp_lib_constexpr_unordered_set 202502L // also in <unordered_set>

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++26libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions