Espaces de noms
Variantes
Affichages
Actions

std::char_traits::assign

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

void assign( CharT& r, CharT a );
(1)
CharT* assign( CharT* p, std::size_t count, CharT a );
(2)
Attribue un caractère .
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)
Affecte a caractère à r caractère .
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)
Assigne a caractère de chaque caractère en caractères count dans la séquence de caractères pointée par 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.

Sommaire

[modifier] Paramètres

a -
caractère de la valeur à attribuer
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 -
caractère à attribuer à
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 -
pointeur sur une séquence de caractères à affecter
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 -
la longueur de la séquence de caractères
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.

[modifier] Retourne la valeur

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

[modifier] Exceptions

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

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)
Linéaire dans 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.