diff options
Diffstat (limited to 'include/__functional_base_03')
-rw-r--r-- | include/__functional_base_03 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/__functional_base_03 b/include/__functional_base_03 index 296dd8db3072..22c06add90f4 100644 --- a/include/__functional_base_03 +++ b/include/__functional_base_03 @@ -1027,7 +1027,7 @@ public: typename __invoke_return0<type&, _A0>::type operator() (_A0& __a0) const { - return __invoke(get(), __a0); + return __invoke<type&, _A0>(get(), __a0); } template <class _A0, class _A1> @@ -1035,7 +1035,7 @@ public: typename __invoke_return1<type&, _A0, _A1>::type operator() (_A0& __a0, _A1& __a1) const { - return __invoke(get(), __a0, __a1); + return __invoke<type&, _A0, _A1>(get(), __a0, __a1); } template <class _A0, class _A1, class _A2> @@ -1043,14 +1043,14 @@ public: typename __invoke_return2<type&, _A0, _A1, _A2>::type operator() (_A0& __a0, _A1& __a1, _A2& __a2) const { - return __invoke(get(), __a0, __a1, __a2); + return __invoke<type&, _A0, _A1, _A2>(get(), __a0, __a1, __a2); } }; -template <class _Tp> struct ____is_reference_wrapper : public false_type {}; -template <class _Tp> struct ____is_reference_wrapper<reference_wrapper<_Tp> > : public true_type {}; +template <class _Tp> struct __is_reference_wrapper_impl : public false_type {}; +template <class _Tp> struct __is_reference_wrapper_impl<reference_wrapper<_Tp> > : public true_type {}; template <class _Tp> struct __is_reference_wrapper - : public ____is_reference_wrapper<typename remove_cv<_Tp>::type> {}; + : public __is_reference_wrapper_impl<typename remove_cv<_Tp>::type> {}; template <class _Tp> inline _LIBCPP_INLINE_VISIBILITY |