std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>:: outer_allocator
From cppreference.net
<
cpp
|
memory
|
scoped allocator adaptor
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::scoped_allocator_adaptor
| Member functions | ||||
|
scoped_allocator_adaptor::outer_allocator
|
||||
| Non-member functions | ||||
|
(until C++20)
|
||||
| Deduction guides (C++17) |
|
定義先ヘッダ
<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
への参照を取得する
(公開メンバ関数) |