mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-24 22:11:56 +08:00
libstdc++/69939 Qualify get and forward
PR libstdc++/69939 * include/experimental/tuple (__apply_impl): Qualify get and forward. From-SVN: r233666
This commit is contained in:
parent
89c0c1fd5c
commit
86715b0917
@ -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__.
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user