35 #ifndef IE_CORE_HALFTYPETRAITS_H
36 #define IE_CORE_HALFTYPETRAITS_H
38 #include "OpenEXR/half.h"
40 #include "boost/type_traits/is_arithmetic.hpp"
41 #include "boost/type_traits/is_signed.hpp"
42 #include "boost/type_traits/is_unsigned.hpp"
43 #include "boost/type_traits/is_floating_point.hpp"
49 struct is_arithmetic<half> :
public true_type{};
52 struct is_arithmetic<const half> :
public true_type{};
55 struct is_arithmetic<volatile half> :
public true_type{};
58 struct is_arithmetic<const volatile half> :
public true_type{};
61 struct is_floating_point<half> :
public true_type{};
64 struct is_floating_point<const half> :
public true_type{};
67 struct is_floating_point<volatile half> :
public true_type{};
70 struct is_floating_point<const volatile half> :
public true_type{};
73 struct is_signed<half> :
public true_type{};
76 struct is_signed<const half> :
public true_type{};
79 struct is_signed<volatile half> :
public true_type{};
82 struct is_signed<const volatile half> :
public true_type{};
85 struct is_unsigned<half> :
public false_type{};
88 struct is_unsigned<const half> :
public false_type{};
91 struct is_unsigned<volatile half> :
public false_type{};
94 struct is_unsigned<const volatile half> :
public false_type{};
98 #endif // IE_CORE_HALFTYPETRAITS_H
Definition: HalfTypeTraits.h:45