re PR libstdc++/80187 (C++ variant should be trivially copy constructible if possible)
authorTim Shen <timshen@google.com>
Tue, 27 Jun 2017 18:19:03 +0000 (18:19 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Tue, 27 Jun 2017 18:19:03 +0000 (18:19 +0000)
commit705037247447f44826bd6fc2c777c69237fcef39
tree8f01a51301ae0f61f8a6e5ea3442568da419df6f
parent8c2805bbbb937cbce2c86fac1146515d6aee81e4
re PR libstdc++/80187 (C++ variant should be trivially copy constructible if possible)

PR libstdc++/80187
* include/std/variant (variant::variant, variant::~variant,
variant::operator=): Implement triviality forwarding for four
special member functions.
* testsuite/20_util/variant/compile.cc: Tests.

From-SVN: r249706
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant
libstdc++-v3/testsuite/20_util/variant/compile.cc