std::allocator_traits::max_size
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 size_type max_size( Alloc& a ) |
(depuis C++11) | |
Si possible, obtient la taille maximale théoriquement possible de la répartition
a allocateur, en appelantOriginal:
If possible, obtains the maximum theoretically possible allocation size from the allocator
a, by callingThe 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.
a.max_size()
Si ce qui précède n'est pas possible (par exemple
a n'a pas la fonction membre max_size(),), puis revientOriginal:
If the above is not possible (e.g.
a does not have the member function max_size(),), then returnsThe 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.
std::numeric_limits<size_type>::max()
Paramètres
(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.
Retourne la valeur
Théorique taille d'allocation maximale
Original:
Theoretical maximum allocation size
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
retourne la taille plus grande allocation prise en charge Original: returns the largest supported allocation size 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)
| |