◐ Shell
clean mode source ↗

std::char_traits::copy - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

CharT* copy( CharT* dest, const CharT* src, std::size_t count );

Cópias count personagem de cadeia de caracteres apontada por src a cadeia de caracteres apontada por dest.

Original:

Copies count character from character string pointed to by src to character string pointed to by dest.

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

O comportamento é indefinido se intervalos de caracteres copiados se sobrepõem, ou seja src está no [dest, dest + count).

Original:

The behavior is undefined if copied character ranges overlap, i.e. src is in [dest, dest + count).

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

Parâmetros

dest -

ponteiro para uma cadeia de caracteres a copiar

Original:

pointer to a character string to copy to

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

src -

ponteiro para uma cadeia de caracteres a copiar

Original:

pointer to a character string to copy from

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

count -

o número de caracteres para copiar

Original:

the number of characters to copy

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

Valor de retorno

dest

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.