[ Web Proxy ]
URL:
Viewing: https://fr.cppreference.com/cpp/string/char_traits/assign [Back]  [Original]

std::char_traits::assign cppreference.com
cppreference.com
Espaces de noms
Variantes

std::char_traits::assign

De cppreference.com

<metanoindex/>

<tbody> </tbody>
void assign( CharT& r, CharT a );
(1)
CharT* assign( CharT* p, std::size_t count, CharT a );
(2)
Attribue un caractre .
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 caractre r caractre .
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 caractre de chaque caractre en caractres count dans la squence de caractres pointe 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.

Paramtres

a -
caractre 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 -
caractre 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 squence de caractres 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 squence de caractres
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.

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

Exceptions

1)
noexcept specification:  
<tbody> </tbody>
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.

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)
Linaire 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.

Web Proxy Viewer  |  New URL  |  Original Page