PR libstdc++/85183 fix std::variant move-assignment
authorJonathan Wakely <jwakely@redhat.com>
Tue, 3 Apr 2018 23:03:07 +0000 (00:03 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 3 Apr 2018 23:03:07 +0000 (00:03 +0100)
commitc73847e77b379bc6f51f5cda2649fff5ae5b9130
treec349cae67afef3d85178a55083da0f8d3a33a680
parentb6a7a294ce823917dd08e8d5923137ff75b09fae
PR libstdc++/85183 fix std::variant move-assignment

PR libstdc++/85183
* include/std/variant (_Move_assign_base::operator=): Fix incorrect
value categories.
* testsuite/20_util/variant/85183.cc: New.

From-SVN: r259059
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant
libstdc++-v3/testsuite/20_util/variant/85183.cc [new file with mode: 0644]