Template Class Range

Class Documentation

template<typename T>
class Range

Public Functions

inline Range(T a)
inline Range(T lower, T upper)
inline Range(std::vector<T> limits)
inline T lower() const
inline T upper() const
inline bool inrange(T value) const
inline bool inopenrange(T value) const
template<typename R>
inline bool inrange(const Range<R> &other) const
template<typename R>
inline bool inopenrange(const Range<R> &other) const
template<typename R>
inline bool overlapping(const Range<R> &other) const
inline std::string to_string() const

Protected Attributes

T lower_
T upper_