std::allocator_traits::deallocate
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <memory>
|
||
static void deallocate( Alloc& a, pointer p, size_type n ); |
(dal C++11) | |
Utilizza il
a allocatore per deallocare la memoria a cui fa riferimento p, chiamando 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.
Parametri
| a | - | allocatore utilizzare
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 | - | puntatore alla memoria precedentemente allocato
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 | - | il numero di oggetti della memoria è stato assegnato per il
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. |
Valore di ritorno
(Nessuno)
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.
Vedi anche
[statico] |
alloca memoria non inizializzata utilizzando l'allocatore 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. (metodo pubblico statico) |
dealloca stoccaggio 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. (metodo pubblico) | |