Lines Matching refs:_Fp
159 …template <class _Fp, class... _Args, __enable_if_t<!is_same<__remove_cvref_t<_Fp>, thread>::value,…
160 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp&& __f, _Args&&... __args);
162 template <class _Fp>
163 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS explicit thread(_Fp __f);
190 template <class _TSp, class _Fp, class... _Args, size_t... _Indices>
191 inline _LIBCPP_HIDE_FROM_ABI void __thread_execute(tuple<_TSp, _Fp, _Args...>& __t, __tuple_indices…
195 template <class _Fp>
198 unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp));
200 typedef typename __make_tuple_indices<tuple_size<_Fp>::value, 2>::type _Index;
205 template <class _Fp, class... _Args, __enable_if_t<!is_same<__remove_cvref_t<_Fp>, thread>::value, …
206 thread::thread(_Fp&& __f, _Args&&... __args) {
209 typedef tuple<_TSPtr, __decay_t<_Fp>, __decay_t<_Args>...> _Gp;
210 …unique_ptr<_Gp> __p(new _Gp(std::move(__tsp), std::forward<_Fp>(__f), std::forward<_Args>(__args).…
220 template <class _Fp>
225 _LIBCPP_HIDE_FROM_ABI __thread_invoke_pair(_Fp& __f) : __tsp_(new __thread_struct), __fn_(__f) {}
227 _Fp __fn_;
230 template <class _Fp>
232 unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp));
238 template <class _Fp>
239 thread::thread(_Fp __f) {
240 typedef __thread_invoke_pair<_Fp> _InvokePair;