LibreOffice Module onlineupdate (master) 1
List of all members
mozilla::IsArithmetic< T > Struct Template Reference

IsArithmetic determines whether a type is arithmetic. More...

#include <TypeTraits.h>

Inheritance diagram for mozilla::IsArithmetic< T >:
[legend]
Collaboration diagram for mozilla::IsArithmetic< T >:
[legend]

Additional Inherited Members

- Public Types inherited from mozilla::IntegralConstant< bool, IsIntegral< T >::value||IsFloatingPoint< T >::value >
typedef bool ValueType
 
typedef IntegralConstant< bool, ValueType
 
- Static Public Attributes inherited from mozilla::IntegralConstant< bool, IsIntegral< T >::value||IsFloatingPoint< T >::value >
static const bool value
 

Detailed Description

template<typename T>
struct mozilla::IsArithmetic< T >

IsArithmetic determines whether a type is arithmetic.

A type is arithmetic iff it is an integral type or a floating point type.

mozilla::IsArithmetic<int>::value is true; mozilla::IsArithmetic<double>::value is true; mozilla::IsArithmetic<long double*>::value is false.

Definition at line 308 of file TypeTraits.h.


The documentation for this struct was generated from the following file: