[all-commits] [llvm/llvm-project] 3bb903: [libc++] Treat P0513R0 as a defect report against ...
A. Jiang via All-commits
all-commits at lists.llvm.org
Sat Nov 8 16:41:01 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3bb903e3c0afcc2fb17ebf2b7da127d1595dba56
https://github.com/llvm/llvm-project/commit/3bb903e3c0afcc2fb17ebf2b7da127d1595dba56
Author: A. Jiang <de34 at live.cn>
Date: 2025-11-09 (Sun, 09 Nov 2025)
Changed paths:
M libcxx/docs/Status/Cxx17Papers.csv
M libcxx/include/__functional/hash.h
M libcxx/test/std/utilities/function.objects/unord.hash/pointer.pass.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_unique_ptr.pass.cpp
M libcxx/test/support/poisoned_hash_helper.h
Log Message:
-----------
[libc++] Treat P0513R0 as a defect report against C++11 (#166690)
P0513R0 is essentially a collective resolution paper of LWG2543,
LWG2791, LWG2809, and LWG2817.
Among these LWG issues, LWG2543 (conditionally enabled `hash`) and
LWG2817 (`hash<nullptr_t>`) affect pre-C++17 utilities. We generally
backport changes from LWG issues, so this patch backports the relevant
parts of P0513R0.
Although we provide `hash<unique_ptr>` as an extension in C++03 mode, as
C++03 mode isn't encouraged now, this patch leaves `hash<unique_ptr>`
unchanged in C++03 mode.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list