[libc++] Implement `operator<=>` for `shared_ptr`
authorAdrian Vogelsgesang <avogelsgesang@salesforce.com>
Wed, 3 Aug 2022 16:28:48 +0000 (18:28 +0200)
committerMark de Wever <koraq@xs4all.nl>
Wed, 3 Aug 2022 16:32:45 +0000 (18:32 +0200)
commit3b217f2f127ebf5da5b87485dd9bc33ae1a66427
tree57c8219e87139690ed6e8e8de8482cd87e4b0a0f
parent144cea2ce9b9536acaf2a7513b9fdccfd3880db9
[libc++] Implement `operator<=>` for `shared_ptr`

Implements part of:

* P1614R2 The Mothership has Landed

Fixes LWG3427

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D130852
libcxx/docs/Status/Cxx2bIssues.csv
libcxx/docs/Status/SpaceshipProjects.csv
libcxx/include/__memory/shared_ptr.h
libcxx/include/memory
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/cmp.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/cmp_nullptr.pass.cpp
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/eq.pass.cpp [deleted file]
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/lt.pass.cpp [deleted file]