std::subtract_with_carry_engine<UIntType,w,s,r>::seed

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

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 2181C++11overload (2) would not throw even if the seq.generate call throwspropagates the exception
LWG 3809C++11the default argument of value was default_seedchanged to 0u

# See also