4#include <initializer_list>
17 inline T
map(
const T &n)
const {
Simple range class representing some range in some data type.
Definition ranges.hh:14
T upper
Specifies the upper bound.
Definition ranges.hh:32
T lower
Specifies the lower bound.
Definition ranges.hh:31
bool contains(const T &n) const
Checks, if the given value lays within the range.
Definition ranges.hh:26
T map(const T &n) const
Maps a given value onto the range.
Definition ranges.hh:17