Simbody  3.7
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...

Public Types

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

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. More...
 

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

◆ Result

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

◆ result

template<class T >
const bool SimTK::IsArithmeticType< T >::result
static
Initial value:

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: