Skip to content

[libc++] Should we backport hash<nullptr_t> and conditionally enabled hash from P0513R0? #136800

Open
@frederick-vs-ja

Description

@frederick-vs-ja

P0513R0 resolved LWG2543, LWG2791, LWG2809, and LWG2817. Among these LWG issues, LWG2543 (conditionally enabled hash, affecting hash<unique_ptr>) and LWG2817 (hash<nullptr_t>) affect pre-C++17 utilities.

Currently there's implementation divergence:

  • libc++ doesn't backport LWG2543 or LWG2817.
  • libstdc++ backports LWG2543 but not LWG2817.
  • MSVC STL backports both LWG2543 or LWG2817.

Should we backport LWG2543 and/or LWG2817?

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.lwg-issuethis is an issue that was filed to the Library Working GroupquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions