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)
Definido en el encabezado <scoped_allocator>
outer_allocator_type & outer_allocator ( ) noexcept ;
(1) (desde C++11)
const outer_allocator_type & outer_allocator ( ) const noexcept ;
(2) (desde C++11)

Obtiene una referencia al asignador externo utilizado para declarar esta clase.

1) Devuelve static_cast < OuterAlloc & > ( * this ) .
2) Devuelve static_cast < const OuterAlloc & > ( * this ) .

Parámetros

(ninguno)

Valor de retorno

Una referencia a OuterAlloc .

Véase también

obtiene una referencia al inner_allocator
(función miembro pública)