std::uses_allocator<std::experimental::function>
From cppreference.com
< cpp | experimental | function
| ヘッダ <experimental/functional> で定義 |
||
| template< class R, class... ArgTypes, class Alloc > struct uses_allocator<std::experimental::function<R(ArgTypes...)>, Alloc> |
(Library Fundamentals TS) (ライブラリファンダメンタルズTS v3 で削除されました) |
|
std::uses_allocator のこの特殊化は、他のライブラリコンポーネントに対して、std::experimental::function 型のすべてのオブジェクトが**allocator を使用した構築**をサポートしていることを通知します。
目次 |
std::integral_constant から継承
メンバ定数
| value [static] |
true (公開静的メンバ定数) |
メンバ関数
| 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 構築をサポートしているかどうかをチェックします (クラステンプレート) |