]> Creatis software - bbtk.git/blob - kernel/src/bbtkAny.cxx
97d39f1f32af00b070bfbf94cebe0c6b95e8eb32
[bbtk.git] / kernel / src / bbtkAny.cxx
1 #include "bbtkAny.h"
2
3
4 namespace bbtk
5 {
6   /// The TypeTraits which validates all integer types
7   template <> const bool integer<char>::value = true; 
8   template <> const bool integer<short>::value = true;
9   template <> const bool integer<int>::value = true; 
10   template <> const bool integer<long>::value = true; 
11   template <> const bool integer<long long>::value = true; 
12   template <> const bool integer<unsigned char>::value = true; 
13   template <> const bool integer<unsigned short>::value = true;
14   template <> const bool integer<unsigned int>::value = true; 
15   template <> const bool integer<unsigned long>::value = true; 
16   template <> const bool integer<unsigned long long>::value = true; 
17
18   /// The TypeTraits which validates all floating point number types
19   template <> const bool floating_point<float>::value = true;
20   template <> const bool floating_point<double>::value = true;
21 }
22
23