Share via


shuffle_order_engine::shuffle_order_engine

Constructs the engine.

shuffle_order_engine();
explicit shuffle_order_engine(const base_type& eng);
explicit shuffle_order_engine(result_type x0);
explicit shuffle_order_engine(seed_seq& seq);

Parameters

  • eng
    An engine object.

  • x0
    The seed value.

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

Remarks

The first constructor constructs a shuffle_order_engine object with a default-initialized engine.

The second contructor constructs a shuffle_order_engine object with a copy of an engine object.

The third constructor constucts a shuffle_order_engine object with its engine initialized by stored_engine(x0).

The fourth constructor constucts a shuffle_order_engine object with its engine initialized by stored_engine(seq).

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

shuffle_order_engine Class

Other Resources

<random> Members