diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:31 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:31 +0000 |
| commit | 7582e3938bb9fb3e4664efdfb2313df29f27b70b (patch) | |
| tree | 65bec6df3984fb0b437488fd86eb1359e9c84af4 /test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp | |
| parent | 733153a0fb52facba02c550ec849f0c734dfa412 (diff) | |
Notes
Diffstat (limited to 'test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp')
| -rw-r--r-- | test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp | 4 |
1 files changed, 4 insertions, 0 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 fbcda44e4065..d7b184f6383c 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<Types> && ...) is true. + #include <tuple> #include <string> #include <cassert> |
