liarsdice::core::Dice class

Public static variables

static unsigned int MIN_VALUE constexpr
static unsigned int MAX_VALUE constexpr

Public static functions

static void set_seed(unsigned int seed)

Constructors, destructors, conversion operators

Dice()
Dice(unsigned int initial_value) explicit

Public functions

void roll()
auto get_value() const -> unsigned int noexcept
auto operator==(const Dice& other) const -> bool noexcept
auto operator!=(const Dice& other) const -> bool noexcept