Add workaround to std::variant for Clang bug 31852

Programming / Compilers / GCC - redi [138bc75d-0d04-0410-961f-82ee72b054a4] - 26 March 2018 13:09 EDT

- include/std/variant (__get): Qualify calls to avoid ADL. (__select_index): Adjust whitespace. (variant): Add using-declaration to workaround Clang bug.

a8f8d460fa8 Add workaround to std::variant for Clang bug 31852
libstdc++-v3/ChangeLog | 6 ++++++
libstdc++-v3/include/std/variant | 19 ++++++++++++++-----
2 files changed, 20 insertions(+), 5 deletions(-)

Upstream: gcc.gnu.org


  • Share