From 8fdd8117a99218ba080f96d40ae065ebd97c3eb2 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 11 May 2017 13:51:09 +0000 Subject: [PATCH] Mark LWG#2796 as complete. No functionality change; we had tests that covered it already. Just added comments to the tests git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302798 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp | 4 ++++ test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp | 4 ++++ www/cxx1z_status.html | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp b/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp index fbcda44e4..d7b184f63 100644 --- a/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp +++ b/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 && ...) is true. + #include #include #include diff --git a/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp b/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp index 2d87e7aba..83c55e75b 100644 --- a/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp +++ b/test/std/utilities/utility/pairs/pairs.pair/dtor.pass.cpp @@ -15,6 +15,10 @@ // ~pair() +// C++17 added: +// The destructor of pair shall be a trivial destructor +// if (is_trivially_destructible_v && is_trivially_destructible_v) is true. + #include #include diff --git a/www/cxx1z_status.html b/www/cxx1z_status.html index a908197a8..9fe8e2800 100644 --- a/www/cxx1z_status.html +++ b/www/cxx1z_status.html @@ -447,7 +447,7 @@ 2790Missing specification of istreambuf_iterator::operator->Kona 2794Missing requirements for allocator pointersKona 2795§[global.functions] provides incorrect example of ADL useKonaComplete - 2796tuple should be a literal typeKona + 2796tuple should be a literal typeKonaComplete 2801Default-constructibility of unique_ptrKonaComplete 2802shared_ptr constructor requirements for a deleterKona 2804Unconditional constexpr default constructor for istream_iteratorKonaComplete @@ -489,7 +489,7 @@ -

Last Updated: 17-Apr-2017

+

Last Updated: 11-May-2017