std::uses_allocator<std::packaged_task>
From cppreference.com
< cpp | thread | packaged task
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Concurrency support library
(C++11)
(C++20)
(C++11)
(C++11)
(C++20)
(C++26)
(C++26)
(C++20)
(C++26)
(C++20)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++11)
(C++11)
(C++17)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++26)
(C++26)
(C++11)
(C++20)
(C++11)
(C++11)(deprecated in C++20)
(C++11)(deprecated in C++20)
(C++11)
(C++11)
(C++11)(deprecated in C++26)
(C++11)
(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)
(C++26)(C++26)
(C++26)(C++26)
(C++11)
(C++20)(C++20)
(C++20)
(C++20)
(C++11)(C++11)
(C++11)(C++11)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
(C++20)
std::packaged_task
Member functions
Getting the result
Execution
Non-member functions
Helper classes
uses_allocator<std::packaged_task>
(until C++17)
Deduction guides (C++17)
template< class R, class Alloc >
struct uses_allocator<std::packaged_task <R>, Alloc> : true_type {};
(since C++11) struct uses_allocator<std::packaged_task <R>, Alloc> : true_type {};
(removed in C++17)
Provides a specialization of the std::uses_allocator type trait for std::packaged_task .
Contents
Inherited from std::integral_constant
Member constants
value
[static]
(public static member constant)
Member functions
operator bool
(public member function)
operator()
(C++14)
(public member function)
Member types
Type
Definition
value_type
bool
type
std::integral_constant <bool, value>