Пример #1
0
 T operator() (engine& eng) const
 {
     return (T)eng.uniform(min, max);
 }
Пример #2
0
 T operator() (engine& eng, const int bound) const
 {
     return (T)eng.uniform(min, bound);
 }