libstdc++/69939 Qualify get and forward
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 2016 13:59:29 +0000 (13:59 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Feb 2016 13:59:29 +0000 (13:59 +0000)
PR libstdc++/69939
* include/experimental/tuple (__apply_impl): Qualify get and forward.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233666 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/tuple

index 86cea26..8d5312d 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-24  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/69939
+       * include/experimental/tuple (__apply_impl): Qualify get and forward.
+
 2016-02-23  Jonathan Wakely  <jwakely@redhat.com>
 
        * doc/xml/manual/using.xml: Document __STDCPP_WANT_MATH_SPEC_FUNCS__.
index e3896e4..81e91bd 100644 (file)
@@ -58,7 +58,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     {
       using _Wrap = _Maybe_wrap_member_pointer<decay_t<_Fn>>;
       return _Wrap::__do_wrap(std::forward<_Fn>(f))(
-         get<_Idx>(forward<_Tuple>(t))...);
+         std::get<_Idx>(std::forward<_Tuple>(t))...);
     }
 
   template <typename _Fn, typename _Tuple>