Lines Matching refs:_Callable
87 template<typename _Callable, typename... _Args> in _GLIBCXX_VISIBILITY()
88 constexpr typename __invoke_result<_Callable, _Args...>::type in _GLIBCXX_VISIBILITY()
89 __invoke(_Callable&& __fn, _Args&&... __args) in _GLIBCXX_VISIBILITY()
90 noexcept(__is_nothrow_invocable<_Callable, _Args...>::value) in _GLIBCXX_VISIBILITY()
92 using __result = __invoke_result<_Callable, _Args...>; in _GLIBCXX_VISIBILITY()
95 return std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn), in _GLIBCXX_VISIBILITY()
101 template<typename _Res, typename _Callable, typename... _Args> in _GLIBCXX_VISIBILITY()
102 constexpr enable_if_t<is_invocable_r_v<_Res, _Callable, _Args...>, _Res> in _GLIBCXX_VISIBILITY()
103 __invoke_r(_Callable&& __fn, _Args&&... __args) in _GLIBCXX_VISIBILITY()
104 noexcept(is_nothrow_invocable_r_v<_Res, _Callable, _Args...>) in _GLIBCXX_VISIBILITY()
106 using __result = __invoke_result<_Callable, _Args...>; in _GLIBCXX_VISIBILITY()
110 std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn), in _GLIBCXX_VISIBILITY()
114 std::forward<_Callable>(__fn), in _GLIBCXX_VISIBILITY()
118 template<typename _Res, typename _Callable, typename... _Args> in _GLIBCXX_VISIBILITY()
120 __and_<is_void<_Res>, __is_invocable<_Callable, _Args...>>::value, in _GLIBCXX_VISIBILITY()
124 template<typename _Res, typename _Callable, typename... _Args> in _GLIBCXX_VISIBILITY()
127 is_convertible<typename __invoke_result<_Callable, _Args...>::type, in _GLIBCXX_VISIBILITY()
134 template<typename _Res, typename _Callable, typename... _Args> in _GLIBCXX_VISIBILITY()
135 constexpr __can_invoke_as_nonvoid<_Res, _Callable, _Args...> in _GLIBCXX_VISIBILITY()
136 __invoke_r(_Callable&& __fn, _Args&&... __args) in _GLIBCXX_VISIBILITY()
138 using __result = __invoke_result<_Callable, _Args...>; in _GLIBCXX_VISIBILITY()
141 return std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn), in _GLIBCXX_VISIBILITY()
146 template<typename _Res, typename _Callable, typename... _Args> in _GLIBCXX_VISIBILITY()
147 _GLIBCXX14_CONSTEXPR __can_invoke_as_void<_Res, _Callable, _Args...> in _GLIBCXX_VISIBILITY()
148 __invoke_r(_Callable&& __fn, _Args&&... __args) in _GLIBCXX_VISIBILITY()
150 using __result = __invoke_result<_Callable, _Args...>; in _GLIBCXX_VISIBILITY()
153 std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn), in _GLIBCXX_VISIBILITY()