[libcxx] Make sure reference_wrapper works with incomplete types
authorLouis Dionne <ldionne@apple.com>
Mon, 1 Apr 2019 19:53:44 +0000 (19:53 +0000)
committerLouis Dionne <ldionne@apple.com>
Mon, 1 Apr 2019 19:53:44 +0000 (19:53 +0000)
commitbeb6efb42eca21ef5b9d1cf616558dfb991186c7
treedf6c1f9c6f2f6ebb4e06082ae2af82a620183b16
parenta735985abe8d5420e3bc168761a556b46b9d973d
[libcxx] Make sure reference_wrapper works with incomplete types

Summary: Completes P0357R3, which was merged into the C++20 Working Draft in San Diego.

Reviewers: EricWF, mclow.lists

Subscribers: christof, jkorous, dexonsmith, libcxx-commits

Differential Revision: https://reviews.llvm.org/D54722

llvm-svn: 357423
libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/ctor.incomplete.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/cref.incomplete.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref.incomplete.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/invoke.incomplete.fail.cpp [new file with mode: 0644]
libcxx/www/cxx2a_status.html