次の方法で共有


scoped_allocator_adaptor::outer_allocator メソッド

outer_allocator_typeに保存されたオブジェクトへの参照を取得します。

outer_allocator_type& outer_allocator() noexcept;
const outer_allocator_type& outer_allocator() const noexcept;

戻り値

outer_allocator_typeに保存されたオブジェクトへの参照。

必要条件

ヘッダー: の <scoped_allocator>

名前空間: std

参照

関連項目

scoped_allocator_adaptor クラス