std::unordered_set::max_size — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(depuis C++11) | |
Retourne le nombre maximal d'éléments du conteneur est capable de tenir en raison des limites du système de mise en œuvre ou à la bibliothèque, à savoir std::distance(begin(), end()) pour le plus grand réservoir .
Original:
Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the largest container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
Retourne la valeur
nombre maximum d'éléments
Original:
maximum number of elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
Complexité
Constante
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Notes
Cette valeur est généralement égale à std::numeric_limits<size_type>::max(), et témoigne de la limite théorique de la taille du récipient. Lors de l'exécution, la taille du conteneur peut être limitée à une valeur inférieure à max_size() par la quantité de RAM disponible .
Original:
This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the theoretical limit on the size of the container. At runtime, the size of the container may be limited to a value smaller than max_size() by the amount of RAM available.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
See also
retourne le nombre d'éléments Original: returns the number of elements The text has been machine-translated via Google Translate. (fonction membre publique) [edit] | |