std::subtract_with_carry_engine<UIntType,w,s,r>::seed
Min standard notice:
Sets the state of the random-number engine.
# Declarations
void seed( result_type value = 0u );
(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 |
| LWG 3809 | C++11 | the default argument of value was default_seed | changed to 0u |