summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-05-11 13:51:09 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-05-11 13:51:09 +0000
commit9630f46ddeeab51b75f7e38673b43325e3cdc491 (patch)
tree00979496facec034c2e5abe168f0abb85682275d /libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
parente6afa397c6c021f9879beda52340cac09b935b86 (diff)
downloadbcm5719-llvm-9630f46ddeeab51b75f7e38673b43325e3cdc491.tar.gz
bcm5719-llvm-9630f46ddeeab51b75f7e38673b43325e3cdc491.zip
Mark LWG#2796 as complete. No functionality change; we had tests that covered it already. Just added comments to the tests
llvm-svn: 302798
Diffstat (limited to 'libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp')
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
index fbcda44e406..d7b184f6383 100644
--- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
@@ -15,6 +15,10 @@
// ~tuple();
+// C++17 added:
+// The destructor of tuple shall be a trivial destructor
+// if (is_trivially_destructible_v<Types> && ...) is true.
+
#include <tuple>
#include <string>
#include <cassert>
OpenPOWER on IntegriCloud