Namespaces
Variants

std:: uses_allocator <std::promise>

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:: 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 >

関連項目

指定された型がuses-allocator構築をサポートするかどうかをチェックする
(クラステンプレート)