std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>:: inner_allocator
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
scoped_allocator_adaptor::inner_allocator
|
||||
| Non-member functions | ||||
|
(until C++20)
|
||||
| Deduction guides (C++17) |
|
헤더 파일에 정의됨
<scoped_allocator>
|
||
|
inner_allocator_type
&
inner_allocator
(
)
noexcept
;
|
(1) | (C++11부터) |
|
const
inner_allocator_type
&
inner_allocator
(
)
const
noexcept
;
|
(2) | (C++11부터) |
이
scoped_allocator_adaptor
를 선언하는 데 사용된 내부 할당자에 대한 참조를 얻습니다.
만약 sizeof... ( InnerAllocs ) == 0 , 즉 내부 할당자가 선언되지 않은 경우, * this 를 반환합니다. 그렇지 않으면 std:: scoped_allocator_adaptor < InnerAllocs... > 에 대한 참조를 반환합니다. 즉, 첫 번째 내부 할당자가 외부 할당자가 되는 * this 의 모든 내부 할당자로 구성된 범위 지정 할당자를 반환합니다.
매개변수
(없음)
반환값
내부 할당자에 대한 참조로, 이는 그 자체가
std::scoped_allocator_adaptor
입니다.
참고 항목
outer_allocator
참조를 획득합니다
(public member function) |