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) |
|
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) |