std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outer_allocator
提供: cppreference.com
<tbody>
</tbody>
| ヘッダ <scoped_allocator> で定義
|
||
outer_allocator_type& outer_allocator() noexcept; |
(1) | (C++11以上) |
const outer_allocator_type& outer_allocator() const noexcept; |
(2) | (C++11以上) |
このクラスを宣言するために使用された外側のアロケータへの参照を取得します。
1) static_cast<OuterAlloc&>(*this) を返します。
2) static_cast<const OuterAlloc&>(*this) を返します。
引数
(なし)
戻り値
OuterAlloc への参照。
関連項目
inner_allocator の参照を取得します (パブリックメンバ関数) |