src/rand.cpp
/**
 * Initializes generator using std::default_random_engine seeded with current
 * time.
 */
Initializes generator using std::default_random_engine seeded with current
time.
Initializes generator using std :: default_random_engine seeded with current time .
xoroshiro128plus::xoroshiro128plus() {
    const auto seed = get_initial_seed();
    auto rnd_engine = default_random_engine(seed);
    state_[0] = rnd_engine();
    state_[1] = rnd_engine();
}
xoroshiro128plus :: xoroshiro128plus ( ) { const auto seed = get_initial_seed ( ) ; auto rnd_engine = default_random_engine ( seed ) ; state_ [ 0 ] = rnd_engine ( ) ; state_ [ 1 ] = rnd_engine ( ) ; }
Initializes generator using std::default_random_engine seeded with current
 time.
Initializes generator using std :: default_random_engine seeded with current time .