Adjusted workflow.
This commit is contained in:
27
include/ehs/Range.h
Normal file
27
include/ehs/Range.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#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)
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user