std::allocator_arg_t
提供: cppreference.com
ヘッダ <memory> で定義
|
||
struct allocator_arg_t {}; |
(C++11以上) (C++17未満) |
|
struct allocator_arg_t { explicit allocator_arg_t() = default; }; |
(C++17以上) | |
std::allocator_arg_t
は std::tuple、 std::function、 std::packaged_task、 (C++17未満) std::promise などのアロケータ対応オブジェクトのコンストラクタおよびメンバ関数のオーバーロードの曖昧さを解消するために使用される空のクラス型です。
[編集] 関連項目
(C++11) |
アロケータ対応のコンストラクタを選択するために使用される std::allocator_arg_t 型のオブジェクト (定数) |
(C++11) |
指定された型がアロケータ使用構築をサポートしているかどうか調べます (クラステンプレート) |