std::char_traits::copy
De cppreference.com
< cpp | string | char traits
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
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.
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.
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.
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.
You can help to correct and verify the translation. Click here for instructions.