Namensräume
Varianten
Aktionen

std::char_traits::assign

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
 
void assign( CharT& r, CharT a );
(1)
CharT* assign( CharT* p, std::size_t count, CharT a );
(2)
Weist ein Zeichen .
Original:
Assigns a character.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Weist Charakter a den Charakter r .
Original:
Assigns character a to character r.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Weist Charakter a jedem Zeichen count Zeichen in der Zeichensequenz, auf den durch p .
Original:
Assigns character a to each character in count characters in the character sequence pointed to by p.
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

a -
Charakter Wert zuweisen
Original:
character value to assign
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
r -
Zeichen zuordnen
Original:
character to assign to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
p -
Zeiger auf eine Zeichensequenz zu zuordnen
Original:
pointer to a character sequence to assign to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
count -
die Länge der Zeichenfolge
Original:
the length of the character sequence
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

1)
(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.
2) p

[Bearbeiten] Ausnahmen

1)
noexcept specification:  
noexcept
  (seit C++11)
2)
(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

1)
Constant .
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Linear in count
Original:
Linear in count
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.