Namensräume
Varianten
Aktionen

std::char_traits::copy

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

 
 
Strings Bibliothek
Null-terminierte Strings
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Byte-Strings
Multibyte-Strings
Wide Strings
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
std::char_traits
Member-Funktionen
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
char_traits::assign
char_traits::cmp
char_traits::move
char_traits::copy
char_traits::compare
char_traits::length
char_traits::find
char_traits::to_char_type
char_traits::to_int_type
char_traits::eq_int_type
char_traits::eof
char_traits::not_eof
 
CharT* copy( CharT* dest, const CharT* src, std::size_t count );
Kopien count Zeichen aus Zeichenkette, auf die src eine Zeichenkette, auf die 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.
Das Verhalten ist undefiniert, wenn kopiert Charakter überlappen, dh src in [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.

Inhaltsverzeichnis

[Bearbeiten] Parameter

dest -
Zeiger auf eine Zeichenkette zu kopieren
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 -
Zeiger auf eine Zeichenkette aus kopieren
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 -
die Anzahl der zu kopierenden Zeichen
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.

[Bearbeiten] Rückgabewert

dest

[Bearbeiten] Ausnahmen

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

[Bearbeiten] Komplexität

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.