Add another workaround to std::variant for Clang bug 31852

Programming / Compilers / GCC - redi [138bc75d-0d04-0410-961f-82ee72b054a4] - 5 April 2018 16:59 EDT

- include/std/variant (_VARIANT_RELATION_FUNCTION_TEMPLATE): Qualify __get calls to avoid ADL and avoid ambiguity due to Clang bug.

1845bea21e2 Add another workaround to std::variant for Clang bug 31852
libstdc++-v3/ChangeLog | 7 ++++++-
libstdc++-v3/include/std/variant | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)

Upstream: gcc.gnu.org


  • Share