Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
inexor::util::random::uniform_open_range_int_distribution< T > Class Template Reference

It is like the boost uniform distribution, but while that uses an closed distribution [min; max], this class uses a half opened one [min; max). More...

#include <random.hpp>

Inheritance diagram for inexor::util::random::uniform_open_range_int_distribution< T >:

Public Member Functions

 uniform_open_range_int_distribution (T min=0, T max=std::numeric_limits< T >::max)
 

Detailed Description

template<typename T>
class inexor::util::random::uniform_open_range_int_distribution< T >

It is like the boost uniform distribution, but while that uses an closed distribution [min; max], this class uses a half opened one [min; max).

This means that the boost one can return 1000 if max=1000, but this one can.

Constructor & Destructor Documentation

template<typename T >
inexor::util::random::uniform_open_range_int_distribution< T >::uniform_open_range_int_distribution ( min = 0,
max = std::numeric_limits<T>::max 
)
inlineexplicit

The documentation for this class was generated from the following file: