28 lines
280 B
C++
28 lines
280 B
C++
#pragma once
|
|
|
|
namespace lwe
|
|
{
|
|
template<typename N>
|
|
class Range
|
|
{
|
|
public:
|
|
N min;
|
|
N max;
|
|
|
|
Range()
|
|
: min(0), max(0)
|
|
{
|
|
}
|
|
|
|
Range(const N min, const N max)
|
|
: min(min), max(max)
|
|
{
|
|
}
|
|
|
|
Range(const Range& range)
|
|
: min(range.min), max(range.max)
|
|
{
|
|
}
|
|
};
|
|
}
|