std::linear_congruential_engine<UIntType,a,c,m>::seed
Min standard notice:
Sets the state of the random-number engine.
# Declarations
void seed( result_type value = default_seed );
(since C++11)
template< class SeedSeq >
void seed( SeedSeq& seq );
(since C++11)
# Parameters
value: seed value to use to set the stateseq: seed sequence to use to set the state
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 2181 | C++11 | overload (2) would not throw even if the seq.generate call throws | propagates the exception |