Compartilhar via


independent_bits_engine::independent_bits_engine

Constructs the engine.

independent_bits_engine();
explicit independent_bits_engine(const base_type& eng);
explicit independent_bits_engine(result_type x0);
explicit independent_bits_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 an independent_bits_engine object with a default-initialized engine.

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

The third constructor constucts an independent_bits_engine object with its engine initialized by stored_engine(x0).

The fourth constructor constucts an independent_bits_engine object with its engine initialized by stored_engine(seq).

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

independent_bits_engine Class

Other Resources

<random> Members