std::basic_string::empty
De cppreference.com
<metanoindex/>
<tbody> </tbody> bool empty() const; |
||
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.
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.
You can help to correct and verify the translation. Click here for instructions.
Valor de retorno
true se a cadeia estiver vazia, false contrárioOriginal:
true if the string is empty, false otherwiseThe 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.
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.
You can help to correct and verify the translation. Click here for instructions.
