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
참조를 획득합니다
(public member function) |