std::allocator_traits::deallocate
Da cppreference.com
< cpp | memory | allocator traits
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <memory>
|
||
static void deallocate( Alloc& a, pointer p, size_type n ); |
(desde C++11) | |
Usa o
a
alocador liberar o armazenamento referenciado por p
, chamando a.deallocate(p, n)Original:
Uses the allocator
a
to deallocate the storage referenced by p
, by calling a.deallocate(p, n)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Parâmetros
a | - | alocador de usar
Original: allocator to use The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
p | - | ponteiro para o armazenamento, anteriormente atribuído
Original: pointer to the previously allocated storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
n | - | o número de objetos do armazenamento foi alocada para
Original: the number of objects the storage was allocated for 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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Veja também
[estática] |
aloca não inicializado de armazenamento usando o alocador Original: allocates uninitialized 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. (função public static membro) |
desaloca armazenamento Original: deallocates storage 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 função pública membro)
|