◐ Shell
clean mode source ↗

std::basic_string::empty - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Verifica se a string não tem caracteres, ou seja, se begin() == end().

Original:

Checks if the string has no characters, i.e. whether begin() == end().

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

true se a cadeia estiver vazia, false contrário

Original:

true if the string is empty, false otherwise

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