void seed(); | (1) | (since C++11) |
void seed( result_type value ); | (2) | (since C++11) |
template< class Sseq > void seed( Sseq& seq ); | (3) | (since C++11) |
Reinitializes the internal state of the underlying engine using a new seed value.
e.seed()
, where e
is the underlying engine.s
. Effectively calls e.seed(value)
, where e
is the underlying engine.seq
. Effectively calls e.seed(seq)
, where e
is the underlying engine. This template only participate in overload resolution if Sseq
qualifies as a SeedSequence. In particular, this template does not participate in overload resolution if Sseq
is implicitly convertible to result_type
.value | - | seed value to use in the initialization of the internal state of the underlying engine |
seq | - | seed sequence to use in the initialization of the internal state of the underlying engine |
(none).
(none).
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/discard_block_engine/seed