Share via


discard_block_engine::seed

Seeds the stored state.

void seed();
void seed(result_type x0);
void seed(seed_seq& seq);

Parameters

  • x0
    The seed value.

  • seq
    The object of type seed_seq that supplies the randomized seed.

Remarks

The first function calls stored_eng.seed() and sets count to 0.

The second function calls stored_eng.seed(x0) and sets count to 0.

The third function calls stored_eng.seed(seq) and sets count to 0.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

discard_block_engine Class

Other Resources

<random> Members