名前空間
変種
操作

std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outer_allocator

提供: cppreference.com
 
 
動的メモリ管理
未初期化記憶域
ガベージコレクションサポート
その他
(C++20)
(C++11)
(C++11)
C のライブラリ
低水準のメモリ管理
 
 
ヘッダ <scoped_allocator> で定義
outer_allocator_type& outer_allocator()noexcept;
(1) (C++11以上)
const outer_allocator_type& outer_allocator()constnoexcept;
(2) (C++11以上)

このクラスを宣言するために使用された外側のアロケータへの参照を取得します。

1) static_cast<OuterAlloc&>(*this) を返します。

2) static_cast<const OuterAlloc&>(*this) を返します。

[編集]引数

(なし)

[編集]戻り値

OuterAlloc への参照。

[編集]関連項目

inner_allocator の参照を取得します
(パブリックメンバ関数)[edit]
close