Conceptos C++: SeedSequence
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í. |
seed sequence A es un objeto que produce valores enteros sin signo en el rango de i 0 ≤ i < 232basado en un rango consumida de datos enteros .
Original:
A
based on a consumed range of integer data.
seed sequence is an object that produces unsigned integer values i in the range 0 ≤ i < 232based on a consumed range of integer data.
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.
Requisitos
Ses un SeedSequence .Original:Sis a SeedSequence.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.qes un objeto deSyres un objeto potencialmente constante deS.Original:qis an object ofSandris a potentially constant object ofS.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.Tis theresult_type.ib,iesonInputIterators con unvalue_typede valores enteros sin signo de al menos 32 bits .Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.ilis anstd::initializer_list<T>.rb,reson modificablesRandomAccessIterators convalue_typede valores enteros sin signo de por lo menos 32 bits .Original:rb,reare modifiableRandomAccessIterators with avalue_typeof unsigned integer values of at least 32 bits.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.obis anOutputIterator.
| Expression | Type | Notes | Complexity |
|---|---|---|---|
S::result_type |
T |
Unsigned integer of at least 32 bits | compile-time |
S() |
Creates a seed sequence with the same default values as other objects of type S |
constant | |
S(ib,ie) |
Creates a seed sequence based on the supplied input bits by [ib,ie) |
O(ie-ib) | |
S(il) |
The same as S(il.begin(), il.end()) |
||
q.generate(rb,re) |
void |
Fills [rb,re) with 32-bit quantities depending on the initial supplied values and potential previous calls to generate. If it does nothing. |
O(re-rb) |
r.size() |
size_t |
The amount of 32-bit integers copied by param. |
constant |
r.param(ob) |
void |
Copies 32-bit values to ob that would reproduce the current state of the object if passed to a constructor of S. |
O(r.size()) |
Ver también
- std::seed_seq