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

IsFloatingPoint determines whether a type is a floating point type (float, double, long double). More...

#include <TypeTraits.h>

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

Additional Inherited Members

- Public Types inherited from mozilla::IntegralConstant< bool, IsSame< RemoveCV< T >::Type, float >::value||IsSame< RemoveCV< T >::Type, double >::value||IsSame< RemoveCV< T >::Type, long double >::value >
typedef bool ValueType
 
typedef IntegralConstant< bool, ValueType
 
- Static Public Attributes inherited from mozilla::IntegralConstant< bool, IsSame< RemoveCV< T >::Type, float >::value||IsSame< RemoveCV< T >::Type, double >::value||IsSame< RemoveCV< T >::Type, long double >::value >
static const bool value
 

Detailed Description

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

IsFloatingPoint determines whether a type is a floating point type (float, double, long double).

mozilla::IsFloatingPoint<int>::value is false; mozilla::IsFloatingPoint<const float>::value is true; mozilla::IsFloatingPoint<long double>::value is true; mozilla::IsFloatingPoint<double*>::value is false.

Definition at line 136 of file TypeTraits.h.


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