std::seed_seq::param
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
template< class OutputIt > void param( OutputIt dest ) const; |
(desde C++11) | |
Envía la secuencia inicial de la semilla que se almacena en el 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.
Parámetros
| dest | - | salida de modo que el
*dest=rt expresión es válida para un valor de rt result_type iteradorOriginal: 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. |
| Requisitos de tipo | ||
-OutputIt debe reunir los requerimientos de OutputIterator.
| ||
Valor de retorno
(Ninguno)
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.
Ejemplo
Ejecuta este código
#include <random>
#include <iostream>
#include <iterator>
int main()
{
std::seed_seq s1 = {-1, 0, 1};
s1.param(std::ostream_iterator<int>(std::cout, " "));
}
Salida:
-1 0 1