https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31852
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Jul 4 13:59:21 2018 New Revision: 262407 URL: https://gcc.gnu.org/viewcvs?rev=262407&root=gcc&view=rev Log: Add workaround to std::variant for Clang bug 31852 Backport from mainline 2018-03-26 Jonathan Wakely <jwak...@redhat.com> * include/std/variant (__get): Qualify calls to avoid ADL. (__select_index): Adjust whitespace. (variant): Add using-declaration to workaround Clang bug. Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/include/std/variant