tudocomp
– The TU Dortmund Compression Framework
tdc::TypeRange< T > Class Template Reference

Represents a range of valid values for a certain type. More...

#include <Range.hpp>

Inheritance diagram for tdc::TypeRange< T >:
tdc::Range

Public Member Functions

constexpr TypeRange ()
 Constructs a range for the type. More...
 
- Public Member Functions inherited from tdc::Range
constexpr Range (size_t max)
 Constructs a range from zero to a maximum value. More...
 
constexpr Range (size_t min, size_t max)
 Constructs a range. More...
 
size_t min () const
 Yields the range's minimum value. More...
 
size_t max () const
 Yields the range's maximum value. More...
 
size_t delta () const
 Yields the difference between the range's minimum and maximum values. More...
 

Detailed Description

template<typename T>
class tdc::TypeRange< T >

Represents a range of valid values for a certain type.

Template Parameters
Tthe value type

Definition at line 74 of file Range.hpp.

Constructor & Destructor Documentation

◆ TypeRange()

template<typename T>
constexpr tdc::TypeRange< T >::TypeRange ( )
inline

Constructs a range for the type.

Definition at line 77 of file Range.hpp.


The documentation for this class was generated from the following file: