POD type that represents a range of values, for classes requiring a min and a max. More...
#include <marvin_Range.h>
Public Member Functions | |
T | midpoint () const noexcept |
Public Attributes | |
T | min |
T | max |
POD type that represents a range of values, for classes requiring a min and a max.
Literally just two T-s - mainly exists to avoid needing to use std::tuple
.
|
inlinenodiscardnoexcept |
Calculates the midpoint between min
and max
.
min
and max
. T marvin::utils::Range< T >::max |
T marvin::utils::Range< T >::min |