[PATCH] D40259: [libcxx] LWG2993: reference_wrapper<T> conversion from T&&

Agustín Bergé via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 10:25:54 PST 2017


K-ballo created this revision.

Implement LWG2993, `reference_wrapper<T>` conversion from `T&&`.

The conversion fail test currently fails to fail (passes), due to https://bugs.llvm.org/show_bug.cgi?id=35332. Flagging it `XFAIL` does not seem to have any effect.


https://reviews.llvm.org/D40259

Files:
  include/__functional_base
  test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp
  test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.fail.cpp
  test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40259.123616.patch
Type: text/x-patch
Size: 4931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171120/709a3ca1/attachment.bin>


More information about the cfe-commits mailing list