|
RAVENNAKIT
|
Represents a range of values. More...
#include <range.hpp>
Public Member Functions | |
| Range ()=default | |
| constexpr | Range (T start, T end) |
| T | start () const |
| T | end () const |
| bool | contains (const T &value) const |
| Check if the value is within the range. | |
Represents a range of values.
Both start and end are inclusive. Range must be valid (start <= end).
| T | The value type. |
|
default |
|
inlineconstexpr |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |