Espaços nominais
Variantes
Acções

std::allocator::deallocate

Da cppreference.com
< cpp‎ | memory‎ | allocator

 
 
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::allocator
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.
allocator::allocator
allocator::~allocator
allocator::address
allocator::allocate
allocator::deallocate
allocator::max_size
allocator::construct
allocator::destroy
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.
 
Definido no cabeçalho <memory>
void deallocate(pointer p, size_type n);
Desaloca o armazenamento referenciado pelo p ponteiro, que deve ser um ponteiro obtido por uma chamada anterior a allocate(). O n argumento deve ser igual ao segundo argumento da chamada para allocate() que originalmente produzido p.
Original:
Deallocates the storage referenced by the pointer p, which must be a pointer obtained by an earlier call to allocate(). The argument n must be equal to the second argument of the call to allocate() that originally produced p.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
::operator delete(void*) chama, mas é especificado quando e como é chamado.
Original:
Calls ::operator delete(void*), but it is unspecified when and how it is called.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parâmetros

p -
ponteiro obtido allocate()
Original:
pointer obtained from allocate()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
n -
número de objetos anteriormente passado para allocate()
Original:
number of objects earlier passed to allocate()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Veja também

aloca inicializado armazenamento
Original:
allocates uninitialized storage
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]
[estática]
desaloca de armazenamento usando o alocador
Original:
deallocates storage using the allocator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(of std::allocator_traits função public static membro) [edit]