debug: explicitly instantiate extent/point validator
This commit is contained in:
parent
6a8b78cdd7
commit
86d35bf903
@ -201,7 +201,8 @@ namespace util::debug {
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#define INSTANTIATE_S_T(S,T) \
|
#define INSTANTIATE_S_T(S,T) \
|
||||||
template struct util::extent<S,T>; \
|
template struct util::extent<S,T>; \
|
||||||
template bool util::debug::is_valid (const extent<S,T>&);
|
template bool util::debug::is_valid (const extent<S,T>&); \
|
||||||
|
template struct util::debug::validator<extent<S,T>>;
|
||||||
|
|
||||||
#define INSTANTIATE(T) \
|
#define INSTANTIATE(T) \
|
||||||
INSTANTIATE_S_T(1,T) \
|
INSTANTIATE_S_T(1,T) \
|
||||||
|
@ -61,6 +61,7 @@ namespace util::debug {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
template <size_t S, typename T>
|
template <size_t S, typename T>
|
||||||
const util::point<S,T> util::point<S,T>::ORIGIN (T {0});
|
const util::point<S,T> util::point<S,T>::ORIGIN (T {0});
|
||||||
@ -68,7 +69,8 @@ const util::point<S,T> util::point<S,T>::ORIGIN (T {0});
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#define INSTANTIATE_S_T(S,T) \
|
#define INSTANTIATE_S_T(S,T) \
|
||||||
template struct util::point<S,T>; \
|
template struct util::point<S,T>; \
|
||||||
template bool util::debug::is_valid (const point<S,T>&);
|
template bool util::debug::is_valid (const point<S,T>&); \
|
||||||
|
template struct util::debug::validator<point<S,T>>;
|
||||||
|
|
||||||
#define INSTANTIATE(T) \
|
#define INSTANTIATE(T) \
|
||||||
INSTANTIATE_S_T(1,T) \
|
INSTANTIATE_S_T(1,T) \
|
||||||
|
Loading…
Reference in New Issue
Block a user