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.
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() and sets count to 0.
The second function calls stored_eng.seed(x0) and sets count to 0.
The third function calls stored_eng.seed(seq) and sets count to 0.
Requirements
Header: <random>
Namespace: std