Namespaces
Variants

std:: uses_allocator <std::experimental::promise>

From cppreference.net
ヘッダーで定義 <experimental/future>
template < class R, class Alloc >

struct uses_allocator < std:: experimental :: promise < R > , Alloc >

: std:: true_type { } ;
(ライブラリ基盤 TS)

この std::uses_allocator の特殊化は、 std::experimental::promise 型の全てのオブジェクトが uses-allocator construction をサポートしていることを他のライブラリコンポーネントに通知します。

目次

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構築をサポートするかチェックする
(クラステンプレート)