[PATCH] D32107: [libc++][test] LWG2857 test coverage for variant

Casey Carter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 14 20:56:19 PDT 2017


CaseyCarter created this revision.

As the saying goes, "works on my machine."

NOTE: libc++ variant does not yet implement LWG2857 and will not pass these tests; MSVC variant does.

Changes under `TEST_VARIANT_HAS_NO_REFERENCES` are dry-coded; I figure that's better than nothing.


https://reviews.llvm.org/D32107

Files:
  test/std/utilities/variant/variant.variant/variant.mod/emplace_index_args.pass.cpp
  test/std/utilities/variant/variant.variant/variant.mod/emplace_index_init_list_args.pass.cpp
  test/std/utilities/variant/variant.variant/variant.mod/emplace_type_args.pass.cpp
  test/std/utilities/variant/variant.variant/variant.mod/emplace_type_init_list_args.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32107.95371.patch
Type: text/x-patch
Size: 9744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170415/fce9c485/attachment.bin>


More information about the cfe-commits mailing list