CortidQCT
1.2.2.52
|
This header contains the definition of the DiscreteRange template. More...
#include <cmath>
#include <limits>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | CortidQCT::DiscreteRange< T > |
Type representing a discrete closed, stridable range. More... | |
Namespaces | |
CortidQCT | |
Name namespace for CortidQCT library. | |
Typedefs | |
using | CortidQCT::DiscreteRangef = DiscreteRange< float > |
Alias for float valued ranges. | |
using | CortidQCT::DiscreteRanged = DiscreteRange< double > |
Alias for double valued ranges. | |
using | CortidQCT::DiescreteRangei = DiscreteRange< int > |
Alias for integer value ranges. | |
Functions | |
template<class T > | |
constexpr DiscreteRange< T > | CortidQCT::discreteRange (T min, T max, T stride) noexcept |
Convenient creator function. | |
template<class T > | |
constexpr DiscreteRange< T > | CortidQCT::discreteRange (T min, T max) noexcept |
Convenient creator function. | |
This header contains the definition of the DiscreteRange template.