◐ Shell
clean mode source ↗

std::basic_string::capacity - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

size_type capacity() const;

Retorna o número de caracteres que o grupo tem atualmente alocado espaço para.

Original:

Returns the number of characters that the string has currently allocated space for.

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

Parâmetros

(Nenhum)

Original:

(none)

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

Valor de retorno

capacidade de armazenamento alocada no momento

Original:

capacity of the currently allocated storage

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

Complexidade

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.

Veja também

returns the number of characters
(função pública membro) [edit]

As reservas de armazenagem

Original:

reserves storage

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


(função pública membro) [edit]