[libcxx-commits] [libcxx] [libc++] Implement P1901R2: owner_hash and owner_equal for shared_ptr/weak_ptr (PR #210551)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jul 26 00:27:20 PDT 2026
================
@@ -817,6 +823,31 @@ struct owner_less<void>
typedef void is_transparent;
};
+// class owner_hash: // C++26
+struct owner_hash {
----------------
frederick-vs-ja wrote:
Nit: Indentation and banner from the standard wording.
It might be better to drop `// struct owner_hash` as it's not helpful.
```suggestion
// struct owner_hash
struct owner_hash { // C++26
```
https://github.com/llvm/llvm-project/pull/210551
More information about the libcxx-commits
mailing list