std::allocator_traits::deallocate
De cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <memory>
|
||
static void deallocate( Alloc& a, pointer p, size_type n ); |
(depuis C++11) | |
Utilise le
a allocateur de désallouer la mémoire référencée par p, en appelant 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.
Paramètres
| a | - | allocateur à utiliser
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 | - | pointeur vers la mémoire allouée précédemment
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 | - | le nombre d'objets de stockage a été attribué pour
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. |
Retourne la valeur
(Aucun)
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.
Voir aussi
[ statique ]Original: static The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
alloue non initialisée stockage à l'aide de l'allocateur 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. (fonction membre publique statique) |
Libère la mémoire 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. (fonction membre publique de std::allocator)
| |