Espaces de noms
Variantes
Affichages
Actions

std::char_traits::copy

De cppreference.com
< cpp‎ | string‎ | char traits

CharT* copy( CharT* dest, const CharT* src, std::size_t count );
Des copies caractère count de chaîne de caractères pointée par src à la chaîne de caractères pointée 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 indéfini si les plages de caractères copiés 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.

Sommaire

[modifier] Paramètres

dest -
pointeur vers une chaîne de caractères à 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 chaîne de caractères à 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 caractères à 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.

[modifier] Retourne la valeur

dest

[modifier] 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.

[modifier] Complexité

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