◐ Shell
clean mode source ↗

std::basic_string::max_size — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

size_type max_size() const;

Retourne le nombre maximum d'éléments de la chaîne est capable de tenir en raison des limites du système de mise en œuvre ou à la bibliothèque, à savoir std::distance(begin(), end()) la plus grande chaîne .

Original:

Returns the maximum number of elements the string is able to hold due to system or library implementation limitations, i.e. ​std::distance(begin(), end())​ for the largest string.

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

Le nombre maximum de caractères

Original:

Maximum number of characters

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

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.

Voir aussi