Espacios de nombres
Variantes
Acciones

std::allocator::deallocate

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

 
 
Gestión de memoria dinámica
Bajo la gestión de memoria de nivel
Los asignadores
Original:
Allocators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Inicializar el almacenamiento
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.
Punteros 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)
(obsoleto)
(C++11)
Garbage soporte colección
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.
Varios
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
Las funciones miembro
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::deallocate
Terceros funciones
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 en la cabecera <memory>
void deallocate(pointer p, size_type n);
Desasigna el almacenamiento referenciados por la p puntero, que debe ser un puntero obtenido por una llamada anterior a allocate(). El n argumento debe ser igual al segundo argumento de la llamada a allocate() que originalmente producido 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.
Llama ::operator delete(void*), pero no se especifica cuándo y cómo se llama .
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 -
puntero obtenido de 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 anterior pasa a 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

(Ninguno)
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] Ver también

asigna almacenamiento sin inicializar
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.

(función miembro público) [editar]
[estático]
desasigna almacenamiento mediante el asignador
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.

(función miembro público estático de std::allocator_traits) [editar]