coord: instantiate signed types

This commit is contained in:
Danny Robson 2016-10-25 17:47:08 +11:00
parent 9546526c1f
commit e5d44d0c6d
4 changed files with 17 additions and 2 deletions

View File

@ -218,15 +218,21 @@ template struct util::extent_range<1,T>; \
template struct util::extent_range<2,T>; \
template struct util::extent_range<3,T>;
INSTANTIATE( int16_t)
INSTANTIATE( int32_t)
INSTANTIATE( int64_t)
INSTANTIATE(uint16_t)
INSTANTIATE(uint32_t)
INSTANTIATE(uint64_t)
INSTANTIATE(float)
INSTANTIATE(double)
INSTANTIATE_INT( int16_t)
INSTANTIATE_INT( int32_t)
INSTANTIATE_INT( int64_t)
INSTANTIATE_INT(uint16_t)
INSTANTIATE_INT(uint32_t)
INSTANTIATE_INT(uint64_t)

View File

@ -243,6 +243,8 @@ template std::ostream& util::geom::operator<< (std::ostream&, AABB<S,T>);
INSTANTIATE_S_T(2,T) \
INSTANTIATE_S_T(3,T)
INSTANTIATE( int32_t)
INSTANTIATE( int64_t)
INSTANTIATE(uint32_t)
INSTANTIATE(uint64_t)
INSTANTIATE(float)

View File

@ -74,10 +74,12 @@ INSTANTIATE_S_T(4,T)
INSTANTIATE(int16_t)
INSTANTIATE(uint16_t)
INSTANTIATE(int32_t)
INSTANTIATE(uint32_t)
INSTANTIATE(int64_t)
INSTANTIATE(uint16_t)
INSTANTIATE(uint32_t)
INSTANTIATE(uint64_t)
INSTANTIATE(float)
INSTANTIATE(double)

View File

@ -390,8 +390,13 @@ template struct util::debug::validator<util::region<S,T>>;
INSTANTIATE_S_T(2,T) \
INSTANTIATE_S_T(3,T)
INSTANTIATE(int16_t);
INSTANTIATE(int32_t);
INSTANTIATE(int64_t);
INSTANTIATE(uint16_t)
INSTANTIATE(uint32_t)
INSTANTIATE(uint64_t)
INSTANTIATE(float)
INSTANTIATE(double)