<div class="t-tr-text">C + +: conceitos<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> SeedSequence
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. |
Uma
com base em uma série de dados inteiros consumidos.
seed sequence
é um objeto que produz valores inteiros sem sinal i na faixa 0 ≤ i < 232com base em uma série de dados inteiros consumidos.
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.
[editar] Requisitos
S
é um SeedSequence.Original:S
is a SeedSequence.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.q
É um objecto daS
r
e é um objecto potencialmente constante deS
.Original:q
is an object ofS
andr
is 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.T
is theresult_type
.ib
,ie
sãoInputIterator
s com umvalue_type
de valores inteiros sem sinal de 32 bits, pelo menos,.Original:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.il
is an std::initializer_list<T>.rb
,re
sãoRandomAccessIterator
s modificáveis com umvalue_type
de valores inteiros sem sinal de pelo menos 32 bits.Original:rb
,re
are modifiableRandomAccessIterator
s with avalue_type
of 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.ob
is 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()) |
[editar] Veja também
- std::seed_seq