Diferencia entre revisiones de «cpp/string/basic string/empty»
De cppreference.com
< cpp | string | basic string
m (r2.7.3) (Bot Añadido: de, en, fr, it) |
m (Use {{lc}}. Update links. Various fixes.) |
||
Línea 17: | Línea 17: | ||
===Ver también=== | ===Ver también=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/string/basic_string/size}} |
− | {{ | + | {{end}} |
[[de:cpp/string/basic string/empty]] | [[de:cpp/string/basic string/empty]] |
Revisión de 00:17 2 jul 2013
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
bool empty() const; |
||
Comprueba si la cadena tiene ningún carácter, es decir, si 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.
Contenido |
Parámetros
(Ninguno)
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 si la cadena está vacía, false lo contrario
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.
You can help to correct and verify the translation. Click here for instructions.
Complejidad
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.
You can help to correct and verify the translation. Click here for instructions.
Ver también
Devuelve el número de caracteres (función miembro pública) |