Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructs the engine.
discard_block_engine();
explicit discard_block_engine(const base_type& eng);
explicit discard_block_engine(result_type x0);
explicit discard_block_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 discard_block_engine object with a default-initialized engine.
The second contructor constructs a discard_block_engine object with a copy of an engine object.
The third constructor constucts a discard_block_engine object with its engine initialized by stored_engine(x0).
The fourth constructor constucts a discard_block_engine object with its engine initialized by stored_engine(seq).
Requirements
Header: <random>
Namespace: std