Namespaces
Variants

std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>:: outer_allocator

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
(C++11) (until C++23)
헤더 파일에 정의됨 <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)