Condividi tramite


shuffle_order_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().

The second function calls stored_eng.seed(x0).

The third function calls stored_eng.seed(seq).

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

shuffle_order_engine Class

Other Resources

<random> Members