re PR libstdc++/89816 (std::variant move construction regressed since GCC 8.3)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Tue, 26 Mar 2019 12:07:26 +0000 (14:07 +0200)
committerVille Voutilainen <ville@gcc.gnu.org>
Tue, 26 Mar 2019 12:07:26 +0000 (14:07 +0200)
commit8be4d02ba9f6e6e309dee3d2fa599d806a0d1ef6
treed2e051624b926ab4e08cb70597ba754f8f6ca337
parentf30d4934a90a6121674d882d391dc09d8fce190c
re PR libstdc++/89816 (std::variant move construction regressed since GCC 8.3)

PR libstdc++/89816

Fix based on a suggestion by Antony Polukhin.
* include/std/variant (__variant_construct): Capture a pointer
to the storage and visit just one variant.

From-SVN: r269940
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant