PR libstdc++/84769 qualify std::get and std::get_if to avoid ADL
authorJonathan Wakely <jwakely@redhat.com>
Fri, 9 Mar 2018 01:10:02 +0000 (01:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 9 Mar 2018 01:10:02 +0000 (01:10 +0000)
commit5dbbf8991de1fc28eee8764d21827dfd0ac69f2d
treec6357d2352634a482d2a48b966e6cb5293249e61
parent311735dbc6783b8669850b0b882834bd41a4e1f1
PR libstdc++/84769 qualify std::get and std::get_if to avoid ADL

PR libstdc++/84769
* include/std/variant (get<_Tp, _Types...>, get_if<_Tp, _Types...>):
Qualify calls to get<_Np, Types...> and get_if<_Np, _Types...>.

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