added unsigned types

This commit is contained in:
mattijs
2008-09-12 14:43:51 +01:00
parent 733f662bed
commit 1883e7cc62

View File

@ -58,15 +58,33 @@ inline bool contiguous<bool>() {return true;}
template<>
inline bool contiguous<char>() {return true;}
template<>
inline bool contiguous<unsigned char>() {return true;}
template<>
inline bool contiguous<short>() {return true;}
template<>
inline bool contiguous<unsigned short>() {return true;}
template<>
inline bool contiguous<int>() {return true;}
template<>
inline bool contiguous<unsigned int>() {return true;}
template<>
inline bool contiguous<long>() {return true;}
template<>
inline bool contiguous<unsigned long>() {return true;}
template<>
inline bool contiguous<long long>() {return true;}
template<>
inline bool contiguous<unsigned long long>() {return true;}
template<>
inline bool contiguous<float>() {return true;}