[ Web Proxy ]
URL:
Viewing: https://fr.cppreference.com/cpp/string/char_traits/copy [Back]  [Original]

std::char_traits::copy cppreference.com
cppreference.com
Espaces de noms
Variantes

std::char_traits::copy

De cppreference.com

<metanoindex/>

<tbody> </tbody>
CharT* copy( CharT* dest, const CharT* src, std::size_t count );
Des copies caractre count de chane de caractres pointe par src la chane de caractres pointe par 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.
Le comportement est indfini si les plages de caractres copis se chevauchent, c'est dire src est en [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.

Paramtres

dest -
pointeur vers une chane de caractres copier
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 -
pointeur vers une chane de caractres copier
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 -
le nombre de caractres copier
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.

Retourne la valeur

dest

Exceptions

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

Complexit

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

Web Proxy Viewer  |  New URL  |  Original Page