Esempio n. 1
0
 /// advances the engine's state and returns the generated value
 int_type operator()() {
     scoped_lock_type guard(m_lock);
     return m_dis(m_rng);
 }
Esempio n. 2
0
Filler:: operator int(){
    return m_dis(m_gen);
}