Skip to content

Commit f638f7b

Browse files
committed
[libc++] Update with LWG issue number for shared-ptr constructor
1 parent 16f2aa1 commit f638f7b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

libcxx/docs/Status/Cxx2cIssues.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@
6565
"`3343 <https://wg21.link/LWG3343>`__","Ordering of calls to ``unlock()`` and ``notify_all()`` in Effects element of ``notify_all_at_thread_exit()`` should be reversed","Not Yet Adopted","|Complete|","16.0",""
6666
"XXXX","","The sys_info range should be affected by save","Not Yet Adopted","|Complete|","19.0"
6767
"`4071 <https://wg21.link/LWG4071>`__","","``reference_wrapper`` comparisons are not SFINAE-friendly","Not Yet Adopted","|Complete|","19.0"
68+
"`4110 <https://wg21.link/LWG4110>`__","","``shared_ptr(nullptr_t, Deleter)`` is overconstrained, breaking some sensible deleters","Not Yet Adopted","|Complete|","19.0"
6869
"","","","","",""

libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int main(int, char**)
117117

118118
#if TEST_STD_VER >= 14
119119
{
120-
// See https://github.com/llvm/llvm-project/pull/93071#issuecomment-2158494851
120+
// LWG 4110
121121
auto deleter = [](auto pointer) { delete pointer; };
122122
std::shared_ptr<int> p(new int, deleter);
123123
}

libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ int main(int, char**)
167167

168168
#if TEST_STD_VER >= 14
169169
{
170-
// See https://github.com/llvm/llvm-project/pull/93071#issuecomment-2158494851
170+
// LWG 4110
171171
auto deleter = [](auto pointer) { delete pointer; };
172172
std::shared_ptr<int> p(new int, deleter, std::allocator<int>());
173173
}

0 commit comments

Comments
 (0)