Namespaces
Variants

std:: uses_allocator <std::packaged_task>

From cppreference.net
Concurrency support library
Threads
(C++11)
(C++20)
this_thread namespace
(C++11)
(C++11)
Cooperative cancellation
Mutual exclusion
Generic lock management
Condition variables
(C++11)
Semaphores
Latches and Barriers
(C++20)
(C++20)
Futures
(C++11)
(C++11)
(C++11)
Safe reclamation
Hazard pointers
Atomic types
(C++11)
(C++20)
Initialization of atomic types
(C++11) (deprecated in C++20)
(C++11) (deprecated in C++20)
Memory ordering
(C++11) (deprecated in C++26)
Free functions for atomic operations
Free functions for atomic flags
template < class R, class Alloc >
struct uses_allocator < std:: packaged_task < R > , Alloc > : true_type { } ;
(C++11부터)
(C++17에서 제거됨)

std::uses_allocator 타입 트레이트의 특수화를 std::packaged_task 에 대해 제공합니다.

목차

상속받은 클래스 std:: integral_constant

멤버 상수

value
[static]
true
(public static member constant)

멤버 함수

operator bool
객체를 bool 로 변환, value 반환
(public member function)
operator()
(C++14)
value 반환
(public member function)

멤버 타입

타입 정의
value_type bool
type std:: integral_constant < bool , value >

참고 항목

지정된 타입이 uses-allocator 생성 방식을 지원하는지 확인합니다
(클래스 템플릿)