LibreOffice Module onlineupdate (master) 1
mozilla::IsSigned< T > Struct Template Reference

IsSigned determines whether a type is a signed arithmetic type. More...

#include <TypeTraits.h>

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

Detailed Description

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

IsSigned determines whether a type is a signed arithmetic type.

|char| is considered a signed type if it has the same representation as |signed char|.

mozilla::IsSigned<int>::value is true; mozilla::IsSigned<const unsigned int>::value is false; mozilla::IsSigned<unsigned char>::value is false; mozilla::IsSigned<float>::value is true.

Definition at line 463 of file TypeTraits.h.


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