|
|
◆ range
| const range_t halcheck::gen::range |
|
static |
Generates a random value in an closed-open interval.
- Signature
template<typename T>
template<typename U, typename V>
lib::variant< lib::symbol, lib::number > atom An atom is either a symbol or a number. Definition atom.hpp:194
typename std::common_type< Args... >::type common_type_t An implementation of std::common_type_t. Definition type_traits.hpp:133
An invocation of this function is well-formed only if of the following is true:
- Template Parameters
-
| T | The type of value to generate. |
| U | The type of the minimum value to generate. |
| V | The type of the maximum value to generate. |
- Parameters
-
| id | A unique identifier for the generated value. |
| min | The minimum value to generate, inclusive. |
| max | The maximum value to generate, exclusive. |
- Returns
- A value in the range [min, max).
|