EHS/include/ehs/Range.h

28 lines
280 B
C
Raw Permalink Normal View History

2024-02-05 22:25:30 -08:00
#pragma once
namespace ehs
{
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)
{
}
};
}