std::vector::max_size – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
||
Liefert die maximale Anzahl von Elementen des Behälters kann aufgrund eines Systemfehlers oder Bibliothek Umsetzung Grenzen zu halten, dh der größte std::distance(begin(), end()) Behälters .
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.
Parameter
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Rückgabewert
maximale Anzahl von Elementen
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.
Ausnahmen
Komplexität
Constant
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
Dieser Wert ist in der Regel gleich std::numeric_limits<size_type>::max() und reflektiert die theoretische Grenze für die Größe des Behälters. Zur Laufzeit kann die Größe des Behälters auf einen Wert kleiner als max_size() durch die Menge des verfügbaren RAM begrenzt werden .
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
liefert die Anzahl der Elemente Original: returns the number of elements The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) [edit] | |
gibt die Anzahl der Elemente, die in derzeit zugewiesenen Speicher gehalten werden kann Original: returns the number of elements that can be held in currently allocated storage The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) [edit] | |