std::vector::assign
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. |
void assign( size_type count, const T& value ); |
(1) | |
template< class InputIt > void assign( InputIt first, InputIt last ); |
(2) | |
Sostituisce il contenuto del contenitore.
1) Original:
Replaces the contents of the container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
sostituisce il contenuto con le copie di
2) count
value
valoreOriginal:
replaces the contents with
count
copies of value value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
sostituisce il contenuto con le copie di quelli del
[first, last)
gammaOriginal:
replaces the contents with copies of those in the range
[first, last)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click
You can help to correct and verify the translation. Click