◐ Shell
clean mode source ↗

std::basic_string::max_size – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

size_type max_size() const;

Liefert die maximale Anzahl von Elementen der String kann aufgrund eines Systemfehlers oder Bibliothek Umsetzung Begrenzungen zu halten, dh der größte std::distance(begin(), end()) String .

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.

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 Zeichen

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.

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.

Siehe auch