Namensräume
Varianten

std::char_traits::length

Aus cppreference.com

<metanoindex/>

 
 
Strings Bibliothek
Null-terminierte Strings
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Byte-Strings
Multibyte-Strings
Wide Strings
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
 
<tbody> </tbody>
std::size_t length( const CharT* s );
Gibt die Länge der Zeichenfolge, auf die s, das heißt, die Position des abschließenden Null-Zeichen (Char()) .
Original:
Returns the length of the character sequence pointed to by s, that is, the position of the terminating null character (Char()).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

s -
Zeiger auf eine Zeichenfolge zur Länge des zurückzukehren
Original:
pointer to a character sequence to return length of
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

Die Länge der Zeichenfolge, auf die s .
Original:
The length of character sequence pointed to by s.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ausnahmen

(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.

Komplexität

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