mersenne_twister_engine::mersenne_twister_engine
Constructs the engine.
explicit mersenne_twister_engine(unsigned long x0 = default_seed);
explicit mersenne_twister_engine(default_seed& seq);
Parameters
x0
The seed value.seq
The object of type seed_seq that supplies the randomized seed.
Remarks
The first constructor constructs a mersenne_twister_engine object and initializes it by calling seed(x0). The second constructor constructs a mersenne_twister_engine object and initializes it by calling seed(seq).
Requirements
Header: <random>
Namespace: std