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.
Paths
| Differential D32107
[libc++][test] LWG2857 test coverage for variant ClosedPublic Authored by EricWF on Apr 14 2017, 8:56 PM.
Details
Summary 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.
Diff Detail Event TimelineComment Actions
No rush; the patch isn't going anywhere ;) Comment Actions LGTM, Thanks @CaseyCarter. I committed these tests and the changes to libc++'s variant in r300403. I'm hijacking this revision so I can close it. This revision is now accepted and ready to land.Apr 15 2017, 12:46 PM
Revision Contents
Diff 95371 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
|