std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outer_allocator
From cppreference.com
< cpp | memory | scoped allocator adaptor
| ヘッダ <scoped_allocator> で定義 |
||
| outer_allocator_type& outer_allocator() noexcept; |
(1) | (C++11以降) |
| const outer_allocator_type& outer_allocator() const noexcept; |
(2) | (C++11以降) |
このクラスの宣言に使用された外側のallocatorへの参照を取得します。
1) static_cast<OuterAlloc&>(*this) を返します。
2) static_cast<const OuterAlloc&>(*this) を返します。
[編集] パラメータ
(なし)
[編集] 返り値
OuterAlloc への参照。
[編集] 関連項目
inner_allocator への参照を取得します。(public member function) |