Lines Matching refs:_Callable
1082 template<typename _Callable>
1085 template<typename _Callable>
1090 __detail::__maybe_present_t<!is_default_constructible_v<_Callable>,
1091 _Callable> _M_callable;
1095 _RangeAdaptor(const _Callable& = {})
1096 requires is_default_constructible_v<_Callable>
1100 _RangeAdaptor(_Callable __callable)
1101 requires (!is_default_constructible_v<_Callable>)
1121 if constexpr (is_invocable_v<_Callable, _Args...>)
1128 return _Callable{}(std::forward<_Args>(__args)...);
1146 return _Callable{}(std::forward<_Range>(__r),
1157 template<typename _Callable>
1158 _RangeAdaptor(_Callable) -> _RangeAdaptor<_Callable>;
1160 template<typename _Callable>
1161 struct _RangeAdaptorClosure : public _RangeAdaptor<_Callable>
1163 using _RangeAdaptor<_Callable>::_RangeAdaptor;
1166 requires requires { declval<_Callable>()(declval<_Range>()); }
1170 if constexpr (is_default_constructible_v<_Callable>)
1171 return _Callable{}(std::forward<_Range>(__r));
1177 requires requires { declval<_Callable>()(declval<_Range>()); }
1188 && is_default_constructible_v<_Callable>)
1196 && !is_default_constructible_v<_Callable>)
1204 && is_default_constructible_v<_Callable>)
1221 template<typename _Callable>
1222 _RangeAdaptorClosure(_Callable) -> _RangeAdaptorClosure<_Callable>;