std:: uses_allocator <std::promise>
From cppreference.net
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::promise
| Member functions | ||||
| Getting the result | ||||
| Setting the result | ||||
| Non-member Functions | ||||
| Helper Classes | ||||
|
uses_allocator
<std::promise>
|
|
template
<
class
R,
class
Alloc
>
struct uses_allocator < std:: promise < R > , Alloc > : std:: true_type { } ; |
(C++11 이후) | |
std::uses_allocator 타입 트레이트의 std::promise 에 대한 특수화를 제공합니다.
목차 |
상속받음 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 생성 방식을 지원하는지 확인합니다
(클래스 템플릿) |