userver: utils::RandomBase Class Reference
Loading...
Searching...
No Matches
utils::RandomBase Class Referenceabstract

#include <userver/utils/rand.hpp>

Detailed Description

Virtualized standard UniformRandomBitGenerator concept, for use with random number distributions.

Definition at line 22 of file rand.hpp.

+ Inheritance diagram for utils::RandomBase:

Public Types

using result_type = uint32_t
 

Public Member Functions

virtual result_type operator() ()=0
 

Static Public Member Functions

static constexpr result_type min ()
 
static constexpr result_type max ()
 

Member Typedef Documentation

◆ result_type

using utils::RandomBase::result_type = uint32_t

Definition at line 24 of file rand.hpp.

Member Function Documentation

◆ max()

static constexpr result_type utils::RandomBase::max ( )
inlinestaticconstexpr

Definition at line 31 of file rand.hpp.

◆ min()

static constexpr result_type utils::RandomBase::min ( )
inlinestaticconstexpr

Definition at line 30 of file rand.hpp.


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