Simbody  3.5
SimTK::IsArithmeticType< T > Struct Template Reference

Compile-time test: is this one of the built-in "arithmetic" types, meaning an integral or floating type? More...

List of all members.

Public Types

typedef OrOpType< typename
IsIntegralType< T >::Result,
typename IsFloatingType< T >
::Result
Result
 This typedef is TrueType if the template type T is one of the integral; or floating point types, otherwise it is FalseType.

Static Public Attributes

static const bool result
 This compile-time constant bool is true if the template type T is one of the integral or floating point types, otherwise it is false.

Detailed Description

template<class T>
struct SimTK::IsArithmeticType< T >

Compile-time test: is this one of the built-in "arithmetic" types, meaning an integral or floating type?


Member Typedef Documentation

template<class T >
typedef OrOpType<typename IsIntegralType<T>::Result, typename IsFloatingType<T>::Result> SimTK::IsArithmeticType< T >::Result

This typedef is TrueType if the template type T is one of the integral; or floating point types, otherwise it is FalseType.


Member Data Documentation

template<class T >
const bool SimTK::IsArithmeticType< T >::result [static]
Initial value:
 IsIntegralType<T>::result 
                            || IsFloatingType<T>::result

This compile-time constant bool is true if the template type T is one of the integral or floating point types, otherwise it is false.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines