Example #1
0
 T operator() (engine& eng) const
 {
     return (T)eng.uniform(min, max);
 }
Example #2
0
 T operator() (engine& eng, const int bound) const
 {
     return (T)eng.uniform(min, bound);
 }