std:: uses_allocator <std::packaged_task>
From cppreference.net
<
cpp
|
thread
|
packaged task
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 { } ; |
(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 > |
참고 항목
|
(C++11)
|
지정된 타입이 uses-allocator 생성 방식을 지원하는지 확인합니다
(클래스 템플릿) |