std::uses_allocator<std::packaged_task>
提供: cppreference.com
< cpp | thread | packaged task
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 [静的] | true (パブリック静的メンバ定数) |
メンバ関数
operator bool | オブジェクトを bool に変換します。 value を返します (パブリックメンバ関数) |
operator() (C++14) | value を返します (パブリックメンバ関数) |
メンバ型
型 | 定義 |
value_type | bool |
type | std::integral_constant<bool, value> |
[編集]関連項目
(C++11) | 指定された型がアロケータ使用構築をサポートしているかどうか調べます (クラステンプレート) |