Public Member Functions | List of all members
UniformCustomDistribution< T > Class Template Reference

A uniform distribution function object which redirects appropriately to either the std::uniform_int_distribution or the std::uniform_real_distribution. This also provides a convenience constructor which takes a 2-element array for the bounds for either floating point or int distributions. More...

#include <MakeWithRandomValues.hpp>

Public Member Functions

template<typename Bound >
 UniformCustomDistribution (std::array< Bound, 2 > arr) noexcept
 

Detailed Description

template<typename T>
class UniformCustomDistribution< T >

A uniform distribution function object which redirects appropriately to either the std::uniform_int_distribution or the std::uniform_real_distribution. This also provides a convenience constructor which takes a 2-element array for the bounds for either floating point or int distributions.


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