template<typename T>
spice::range struct

Contents

Describes a range of grey values of the particular type.

Public variables

T min
T max

Friends

auto operator==(range<T> const& lhs, range<T> const& rhs) -> bool

Function documentation

template<typenameT>
bool operator==(range<T> const& lhs, range<T> const& rhs)

Two ranges are equal if and only if both their min and their max are equal as determined by comparison with ==.

Variable documentation

template<typenameT>
T spice::range<T>::min

The low end of the range.

template<typenameT>
T spice::range<T>::max

The high end of the range.