|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Hardware random number generator satisfying UniformRandomBitGenerator. More...
Public Types | |
| using | result_type = uint32_t |
| The type of random values produced. | |
Public Member Functions | |
| result_type | operator() () noexcept |
| Generates a random value. | |
Static Public Member Functions | |
| static constexpr result_type | min () noexcept |
| Returns the minimum value that can be generated. | |
| static constexpr result_type | max () noexcept |
| Returns the maximum value that can be generated. | |
Hardware random number generator satisfying UniformRandomBitGenerator.
Can be used with standard library distributions and algorithms that require a random bit source.
Definition at line 80 of file random.hpp.
The type of random values produced.
Definition at line 83 of file random.hpp.
|
inlinestaticconstexprnoexcept |
Returns the maximum value that can be generated.
Definition at line 97 of file random.hpp.
|
inlinestaticconstexprnoexcept |
Returns the minimum value that can be generated.
Definition at line 90 of file random.hpp.
|
inlinenoexcept |
Generates a random value.
Definition at line 104 of file random.hpp.