std::seed_seq::param
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. |
<metanoindex/>
<tbody> </tbody> template< class OutputIt > void param( OutputIt dest ) const; |
(dal C++11) | |
Emette la sequenza iniziale seme che è memorizzato nell'oggetto
std::seed_seq.Original:
Outputs the initial seed sequence that's stored in the
std::seed_seq object.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.
Parametri
| dest | - | uscita iteratore tale che il
*dest=rt espressione è valida per un valore di rt result_typeOriginal: output iterator such that the expression *dest=rt is valid for a value rt of result_typeThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| Type requirements | ||
-OutputIt must meet the requirements of OutputIterator.
| ||
Valore di ritorno
(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.
You can help to correct and verify the translation. Click here for instructions.
Esempio
#include <random>
#include <iostream>
#include <iterator>
int main()
{
std::seed_seq s1 = {-1, 0, 1};
s1.param(std::ostream_iterator<int>(std::cout, " "));
}
Output:
-1 0 1