std::char_traits::move
Da cppreference.com.
< cpp | string | char traits
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
CharT* move( CharT* dest, const CharT* src, std::size_t count ); |
||
Copie di caratteri
count
da stringa di caratteri puntato da src
a stringa di caratteri puntata da 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.
Esegue correttamente anche se gli intervalli di caratteri copiati si sovrappongono, vale a dire
src
è in [dest
, dest + count
).Original:
Performs correctly even if the 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.
Indice |
[modifica] Parametri
dest | - | puntatore a una stringa di caratteri da copiare
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 | - | puntatore a una stringa di caratteri da cui copiare
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 | - | il numero di caratteri da copiare
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. |
[modifica] Valore di ritorno
dest
[modifica] Eccezioni
(Nessuno)
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.
[modifica] Complessità
Lineare.
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.