◐ Shell
clean mode source ↗

std::char_traits::assign - cppreference.com

Da cppreference.com.

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

void assign( CharT& r, CharT a );

(1)

CharT* assign( CharT* p, std::size_t count, CharT a );

(2)

Assegna un carattere.

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)

Assegna a carattere per carattere 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)

Assegna a carattere di ogni personaggio in caratteri count nella sequenza di caratteri puntato da 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.

Parametri

a -

carattere valore da assegnare

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 -

carattere da assegnare

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 -

puntatore a una sequenza di caratteri da assegnare

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 lunghezza della sequenza di caratteri

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.

Valore di ritorno

1)

(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.

2) p

Eccezioni

2)

(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.

Complessità

1)

Costante.

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)

Lineare 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.