EHS/include/ehs/Range.h

28 lines
280 B
C
Raw Normal View History

2023-12-17 03:29:08 -08:00
#pragma once
2023-12-17 15:56:13 -08:00
namespace ehs
2023-12-17 03:29:08 -08:00
{
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)
{
}
};
}