Espaços nominais
Variantes
Ações

std::scoped_allocator_adaptor::scoped_allocator_adaptor

De cppreference.com

<metanoindex/>

 
 
Gerenciamento de memória dinâmica
Gerenciamento de memória de baixo nível
Alocadores
Original:
Allocators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Uninitialized armazenamento
Original:
Uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Ponteiros inteligentes
Original:
Smart pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(obsoleta)
(C++11)
Apoio a coleta de lixo
Original:
Garbage collection support
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Diversos
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
C Library
Original:
C Library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::scoped_allocator_adaptor
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
scoped_allocator_adaptor::scoped_allocator_adaptor
scoped_allocator_adaptor::~scoped_allocator_adaptor
scoped_allocator_adaptor::inner_allocator
scoped_allocator_adaptor::outer_allocator
scoped_allocator_adaptor::allocate
scoped_allocator_adaptor::deallocate
scoped_allocator_adaptor::max_size
scoped_allocator_adaptor::construct
scoped_allocator_adaptor::destroy
scoped_allocator_adaptor::select_on_container_copy_construction
Não-membros funções
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
<tbody> </tbody>
Definido no cabeçalho <scoped_allocator>
scoped_allocator_adaptor()
(1) (desde C++11)
template< class OuterA2 > scoped_allocator_adaptor( OuterA2&& outerAlloc, const InnerAllocs&... innerAllocs)
(2) (desde C++11)
scoped_allocator_adaptor( const scoped_allocator_adaptor& other )
(3) (desde C++11)
scoped_allocator_adaptor( scoped_allocator_adaptor&& other )
(4) (desde C++11)
template< class OuterA2 > scoped_allocator_adaptor( const scoped_allocator_adaptor<OuterA2, InnerAllocs...>& other )
(5) (desde C++11)
template< class OuterA2 > scoped_allocator_adaptor( scoped_allocator_adaptor<OuterA2, InnerAllocs...>&& other )
(6) (desde C++11)

1)

Construtor padrão: valor inicializa a classe base OuterAlloc eo objeto membro interno alocador, se usado pela implementação.
Original:
Default constructor: value-initializes the OuterAlloc base class and the inner allocator member object, if used by the implementation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

Constrói a classe base OuterAlloc de std::forward<OuterA2>(outerAlloc), e os alocadores de interiores com innerAllocs....
Original:
Constructs the base class OuterAlloc from std::forward<OuterA2>(outerAlloc), and the inner allocators with innerAllocs....
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

3)

Copiar-construtor: inicializa cada alocador do alocador correspondente de other
Original:
Copy-constructor: initializes each allocator from the corresponding allocator of other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

4)

Mover-construtor: move cada alocador do alocador correspondente de other em *this
Original:
Move-constructor: moves each allocator from the corresponding allocator of other into *this
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

5)

Inicializa cada alocador do alocador correspondente de other
Original:
Initializes each allocator from the corresponding allocator of other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

6)

Inicializa cada alocador do alocador correspondente de other, usando a semântica mover.
Original:
Initializes each allocator from the corresponding allocator of other, using move semantics.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

outerAlloc -
argumento do construtor para o alocador exterior
Original:
constructor argument for the outer allocator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
innerAllocs... -
argumentos do construtor para os alocadores de interiores
Original:
constructor arguments for the inner allocators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
other -
outro std::scoped_allocator_adaptor
Original:
another std::scoped_allocator_adaptor
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exceções

2-6)

noexcept specification:  
<tbody> </tbody>
noexcept
  (desde C++11)

Veja também

aloca não inicializado usando o alocador de armazenamento externo
Original:
allocates uninitialized storage using the outer allocator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função pública membro) [edit]
constrói um objeto no armazenamento alocado, passando o alocador interior de seu construtor, se necessário
Original:
constructs an object in allocated storage, passing the inner allocator to its constructor if appropriate
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função pública membro) [edit]