[libcxx-commits] [PATCH] D117953: [libc++] Fix LWG3146 "Excessive unwrapping in std::ref/cref"

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 22 16:44:21 PST 2022


Quuxplusone updated this revision to Diff 402271.
Quuxplusone marked an inline comment as done.
Quuxplusone edited the summary of this revision.
Quuxplusone added a comment.

Address review comments. Fix the C++03 test failure.
Comment on a hacky workaround in `std::cref`; I'll post a separate PR showing how we might remove it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117953/new/

https://reviews.llvm.org/D117953

Files:
  libcxx/docs/Status/Cxx2bIssues.csv
  libcxx/include/__functional/reference_wrapper.h
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_1.pass.cpp
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref_2.pass.cpp
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/lwg3146.pass.cpp
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_1.pass.cpp
  libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117953.402271.patch
Type: text/x-patch
Size: 8593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220123/b58ec71e/attachment.bin>


More information about the libcxx-commits mailing list