Add unsigned long instantiation of extent and region

This commit is contained in:
Danny Robson 2012-02-09 14:55:07 +11:00
parent f009e96b91
commit c2ca63e024
2 changed files with 12 additions and 0 deletions

View File

@ -72,8 +72,14 @@ namespace util {
void void
extent<unsigned int>::sanity (void) const extent<unsigned int>::sanity (void) const
{ return; } { return; }
template <>
void
extent<unsigned long>::sanity (void) const
{ return; }
} }
template struct extent<unsigned int>; template struct extent<unsigned int>;
template struct extent<unsigned long>;
template struct extent<double>; template struct extent<double>;

View File

@ -131,6 +131,11 @@ namespace util {
template <> template <>
void region<unsigned int>::sanity (void) const void region<unsigned int>::sanity (void) const
{ return; } { return; }
template <>
void region<unsigned long>::sanity (void) const
{ return; }
} }
@ -143,6 +148,7 @@ operator<< (std::ostream &os, const region<T> &rhs) {
template struct region<unsigned int>; template struct region<unsigned int>;
template struct region<unsigned long>;
template struct region<double>; template struct region<double>;
template std::ostream& operator<< (std::ostream&, const region<unsigned int>&); template std::ostream& operator<< (std::ostream&, const region<unsigned int>&);