Namensräume
Varianten

std::char_traits::find

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>
const CharT* find( const CharT* p, std::size_t count, CharT a );

Searches for character a within the first count characters within character string pointed to by p.

Parameter

p - pointer to a character string to search
count - the number of characters to analyze
a - the character to search for

Rückgabewert

A pointer to the first character of value a withing the given character string.

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.