35 #ifndef _BLAZE_UTIL_TYPETRAITS_ISARITHMETIC_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ISARITHMETIC_H_
43 #include <boost/type_traits/is_arithmetic.hpp>
62 template<
typename T >
63 struct IsArithmeticHelper
66 enum { value = boost::is_arithmetic<T>::value };
67 typedef typename SelectType<value,TrueType,FalseType>::Type Type;
96 template<
typename T >
102 enum { value = IsArithmeticHelper<T>::value };
103 typedef typename IsArithmeticHelper<T>::Type Type;
Header file for the FalseType type/value trait base class.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the SelectType class template.
Compile time check for arithmetic data types.This type trait tests whether or not the given template ...
Definition: IsArithmetic.h:97
Header file for the TrueType type/value trait base class.