次の方法で共有


forward_list::get_allocator

前方リストの構築に使用されるアロケーター オブジェクトのコピーを返します。

allocator_type get_allocator() const;

戻り値

アロケーター に保存されたオブジェクト。

必要条件

ヘッダー: <forward_list>

名前空間: std

参照

関連項目

forward_list::allocator_type

forward_list クラス