名前空間
変種
操作

std::allocator_arg

提供: cppreference.com
< cpp‎ | memory
 
 
ユーティリティライブラリ
汎用ユーティリティ
日付と時間
関数オブジェクト
書式化ライブラリ(C++20)
(C++11)
関係演算子 (C++20で非推奨)
整数比較関数
(C++20)
スワップと型操作
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
一般的な語彙の型
(C++11)
(C++17)
(C++17)
(C++17)
(C++17)

初等文字列変換
(C++17)
(C++17)
 
動的メモリ管理
未初期化記憶域
ガベージコレクションサポート
その他
(C++20)
(C++11)
(C++11)
C のライブラリ
低水準のメモリ管理
 
ヘッダ <memory> で定義
constexprstd::allocator_arg_t allocator_arg =std::allocator_arg_t();
(C++11以上)
(C++17未満)
inlineconstexprstd::allocator_arg_t allocator_arg =std::allocator_arg_t();
(C++17以上)

std::allocator_argstd::tuplestd::functionstd::packaged_task(C++17未満)std::promise などのアロケータ対応オブジェクトのコンストラクタおよびメンバ関数のオーバーロードの曖昧さを呼び出し元で解消するために使用される std::allocator_arg_t 型の定数です。

[編集]関連項目

アロケータ対応のコンストラクタのオーバーロードを選択するために使用されるタグ型
(クラス)[edit]
指定された型がアロケータ使用構築をサポートしているかどうか調べます
(クラステンプレート)[edit]
close