std::seed_seq::param
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template< class OutputIt > void param( OutputIt dest ) const; |
(desde C++11) | |
Saídas a seqüência inicial das sementes que está armazenado no objeto
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.
[editar] Parâmetros
dest | - | iterador de saída de modo que a *dest=rt expressão é válida por um valor de
rt result_type Original: output iterator such that the expression *dest=rt is valid for a value rt of result_type The 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 .
|
[editar] Valor de retorno
(Nenhum)
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.
[editar] Exemplo
#include <random> #include <iostream> #include <iterator> int main() { std::seed_seq s1 = {-1, 0, 1}; s1.param(std::ostream_iterator<int>(std::cout, " ")); }
Saída:
-1 0 1