次の方法で共有


scoped_allocator_adaptor::inner_allocator メソッド

inner_allocator_typeに格納されたオブジェクトへの参照を取得します。

inner_allocator_type& inner_allocator() noexcept;
const inner_allocator_type& inner_allocator() const noexcept;

戻り値

inner_allocator_typeに格納されたオブジェクトへの参照。

必要条件

ヘッダー: <scoped_allocator>

名前空間: std

参照

関連項目

scoped_allocator_adaptor クラス