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

IsSame tests whether two types are the same type. More...

#include <TypeTraits.h>

Inheritance diagram for mozilla::IsSame< T, U >:
[legend]
Collaboration diagram for mozilla::IsSame< T, U >:
[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, typename U>
struct mozilla::IsSame< T, U >

IsSame tests whether two types are the same type.

mozilla::IsSame<int, int>::value is true; mozilla::IsSame<int*, int*>::value is true; mozilla::IsSame<int, unsigned int>::value is false; mozilla::IsSame<void, void>::value is true; mozilla::IsSame<const int, int>::value is false; mozilla::IsSame<struct S, struct S>::value is true.

Definition at line 516 of file TypeTraits.h.


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