Lines Matching refs:packaged_task
319 template <class> class packaged_task; // undefined
322 class packaged_task<R(ArgTypes...)>
328 packaged_task() noexcept;
330 explicit packaged_task(F&& f);
332 explicit packaged_task(allocator_arg_t, const Allocator& a, F&& f);
333 ~packaged_task();
336 packaged_task(const packaged_task&) = delete;
337 packaged_task& operator=(const packaged_task&) = delete;
340 packaged_task(packaged_task&& other) noexcept;
341 packaged_task& operator=(packaged_task&& other) noexcept;
342 void swap(packaged_task& other) noexcept;
357 void swap(packaged_task<R(ArgTypes...)&, packaged_task<R(ArgTypes...)>&) noexcept;
359 template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>;
1354 template <class _Callable> class packaged_task;
1364 template <class> friend class packaged_task;
1543 template <class> friend class packaged_task;
1687 template <class> friend class packaged_task;
1760 // packaged_task
2015 class _LIBCPP_TYPE_VIS_ONLY packaged_task<_Rp(_ArgTypes...)>
2027 packaged_task() _NOEXCEPT : __p_(nullptr) {}
2033 packaged_task
2038 explicit packaged_task(_Fp&& __f) : __f_(_VSTD::forward<_Fp>(__f)) {}
2044 packaged_task
2049 explicit packaged_task(allocator_arg_t, const _Allocator& __a, _Fp&& __f)
2052 // ~packaged_task() = default;
2055 packaged_task(const packaged_task&) = delete;
2056 packaged_task& operator=(const packaged_task&) = delete;
2060 packaged_task(packaged_task&& __other) _NOEXCEPT
2063 packaged_task& operator=(packaged_task&& __other) _NOEXCEPT
2070 void swap(packaged_task& __other) _NOEXCEPT
2092 packaged_task<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __args)
2114 packaged_task<_Rp(_ArgTypes...)>::make_ready_at_thread_exit(_ArgTypes... __args)
2136 packaged_task<_Rp(_ArgTypes...)>::reset()
2146 class _LIBCPP_TYPE_VIS_ONLY packaged_task<void(_ArgTypes...)>
2158 packaged_task() _NOEXCEPT : __p_(nullptr) {}
2164 packaged_task
2169 explicit packaged_task(_Fp&& __f) : __f_(_VSTD::forward<_Fp>(__f)) {}
2175 packaged_task
2180 explicit packaged_task(allocator_arg_t, const _Allocator& __a, _Fp&& __f)
2183 // ~packaged_task() = default;
2186 packaged_task(const packaged_task&) = delete;
2187 packaged_task& operator=(const packaged_task&) = delete;
2191 packaged_task(packaged_task&& __other) _NOEXCEPT
2194 packaged_task& operator=(packaged_task&& __other) _NOEXCEPT
2201 void swap(packaged_task& __other) _NOEXCEPT
2223 packaged_task<void(_ArgTypes...)>::operator()(_ArgTypes... __args)
2246 packaged_task<void(_ArgTypes...)>::make_ready_at_thread_exit(_ArgTypes... __args)
2269 packaged_task<void(_ArgTypes...)>::reset()
2281 swap(packaged_task<_Callable>& __x, packaged_task<_Callable>& __y) _NOEXCEPT
2287 struct _LIBCPP_TYPE_VIS_ONLY uses_allocator<packaged_task<_Callable>, _Alloc>