region: remove extent only constructor
This commit is contained in:
parent
9109ff6e66
commit
09d83b1b8a
@ -18,15 +18,6 @@
|
|||||||
using cruft::region;
|
using cruft::region;
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
template <size_t S, typename T>
|
|
||||||
cruft::region<S,T>::region (extent_t _extent):
|
|
||||||
region (point_t::origin (), _extent)
|
|
||||||
{
|
|
||||||
CHECK_SANITY (*this);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
template <size_t S, typename T>
|
template <size_t S, typename T>
|
||||||
cruft::region<S,T>::region (point_t _p,
|
cruft::region<S,T>::region (point_t _p,
|
||||||
|
@ -34,12 +34,13 @@ namespace cruft {
|
|||||||
point_t p;
|
point_t p;
|
||||||
extent_t e;
|
extent_t e;
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
region () = default;
|
region () = default;
|
||||||
explicit region (extent_t);
|
|
||||||
region (point_t, extent_t);
|
region (point_t, extent_t);
|
||||||
region (point_t, point_t);
|
region (point_t, point_t);
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
template <typename U>
|
template <typename U>
|
||||||
constexpr region<S,U>
|
constexpr region<S,U>
|
||||||
|
Loading…
Reference in New Issue
Block a user