PR libstdc++/91807
authorVille Voutilainen <ville.voutilainen@gmail.com>
Thu, 2 Jul 2020 19:16:39 +0000 (22:16 +0300)
committerVille Voutilainen <ville.voutilainen@gmail.com>
Thu, 2 Jul 2020 19:25:39 +0000 (22:25 +0300)
commit9cba1b9a6333dcc6623865b7a0ed4d57cec4088e
tree45f069049970875724c7eb6ed8bf225562004c5e
parent66640d910595faded4425cfe2729ddf9d16e457b
PR libstdc++/91807

PR libstdc++/91807
* include/std/variant
(_Copy_assign_base::operator=(const _Copy_assign_base&):
Do the move-assignment from a temporary so that the temporary
is constructed with an explicit index.
* testsuite/20_util/variant/91807.cc: New.

(cherry picked from commit dbca7a69f276e4829354f87f2747ebff36f6090e)
libstdc++-v3/include/std/variant
libstdc++-v3/testsuite/20_util/variant/91807.cc [new file with mode: 0644]
This page took 1.895249 seconds and 6 git commands to generate.