A range type with an inclusive start bound and an exclusive end bound.
More...
#include <utils.h>
A range type with an inclusive start bound and an exclusive end bound.
◆ Range()
Range::Range |
( |
size_t |
start, |
|
|
size_t |
end |
|
) |
| |
|
inline |
Create a new Range with the given start
and end
values. end
must be greater than or equal to start
.
◆ Contains()
bool Range::Contains |
( |
size_t |
value | ) |
const |
|
inline |
Returns true
if this range contains the given value
.
◆ ToString()
std::string Range::ToString |
( |
| ) |
const |
|
inline |
◆ end_
◆ start_
const size_t Range::start_ |
The documentation for this struct was generated from the following file: