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

Traits class for identifying POD types. More...

#include <TypeTraits.h>

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

Additional Inherited Members

- Public Types inherited from mozilla::IntegralConstant< T, Value >
typedef T ValueType
 
typedef IntegralConstant< T, Value > Type
 
- Static Public Attributes inherited from mozilla::IntegralConstant< T, Value >
static const T value = Value
 

Detailed Description

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

Traits class for identifying POD types.

Until C++11 there's no automatic way to detect PODs, so for the moment this is done manually. Users may define specializations of this class that inherit from mozilla::TrueType and mozilla::FalseType (or equivalently mozilla::IntegralConstant<bool, true or false>, or conveniently from mozilla::IsPod for composite types) as needed to ensure correct IsPod behavior.

Definition at line 349 of file TypeTraits.h.


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