Skip to content
Snippets Groups Projects
Select Git revision
  • b638448e4dfbefa65d757b16f1793a9201260b66
  • main default protected
  • register-logging-channel
  • expr-lang
  • ci-82
  • attr-events
  • locale-wip
  • custom-routes
  • v0.1.85
  • v0.1.84
  • v0.1.83
  • v0.1.82
  • v0.1.81
  • v0.1.80
  • v0.1.79
  • v0.1.78
  • v0.1.77
  • v0.1.76
  • v0.1.75
  • v0.1.74
  • v0.1.73
  • v0.1.72
  • v0.1.71
  • v0.1.70
  • v0.1.69
  • v0.1.68
  • v0.1.67
  • v0.1.65
28 results

LocalDataTest.php

Blame
  • Dice.hpp 329 B
    #ifndef DICE_HPP
    #define DICE_HPP
    
    #include <random>
    
    class Dice
    {
      private:
    
        std::mt19937 mt_;
        std::uniform_int_distribution<unsigned int> distribution_;
    
        Dice();
        Dice(const Dice& copy) = delete;
        ~Dice() = default;
    
      public:
    
        static Dice& getInstance();
        unsigned int roll();
    };
    
    #endif // DICE_HPP