Espaços nominais
Variantes
Ações

std::char_traits::find

De cppreference.com

<metanoindex/>

 
 
Biblioteca cordas
Strings terminadas
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.
Cadeias de bytes
Multibyte cordas
Cordas de largura
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.
 
 
<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.

Parâmetros

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

Valor de retorno

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

Exceções

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

Complexidade

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.