std::array::max_size
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> constexpr size_type max_size(); |
(dal C++11) | |
Restituisce il numero massimo di elementi che il contenitore è in grado di tenere a causa delle limitazioni del sistema di attuazione o di una raccolta, vale a dire
std::distance(begin(), end()) per il più grande contenitore.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.
You can help to correct and verify the translation. Click here for instructions.
Parametri
(Nessuno)
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.
Valore di ritorno
numero massimo di elementi
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.
You can help to correct and verify the translation. Click here for instructions.
Eccezioni
noexcept specification:
<tbody>
</tbody>
noexcept |