std::scoped_allocator_adaptor::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 <scoped_allocator>
|
||
void deallocate( pointer p, size_type n ) |
(depuis C++11) | |
Utilise l'allocateur extérieur pour libérer la mémoire référencée par
p, en appelant std::allocator_traits<OuterAlloc>::deallocate(outer_allocator(), p, n)Original:
Uses the outer allocator to deallocate the storage referenced by
p, by calling std::allocator_traits<OuterAlloc>::deallocate(outer_allocator(), 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
| p | - | pointeur vers la mémoire allouée précédemment
Original: pointer to the previously allocated memory 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 pour lesquels la mémoire a été attribué
Original: the number of objects for which the memory was allocated 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.
Exceptions
Voir aussi
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)
| |
[ 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. |
libère de stockage à l'aide de l'allocateur 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. (fonction membre publique statique de std::allocator_traits)
|