LibreOffice Module onlineupdate (master) 1
Public Types | List of all members
mozilla::Conditional< Condition, A, B > Struct Template Reference

Conditional selects a class between two, depending on a given boolean value. More...

#include <TypeTraits.h>

Inheritance diagram for mozilla::Conditional< Condition, A, B >:
[legend]

Public Types

typedef A Type
 

Detailed Description

template<bool Condition, typename A, typename B>
struct mozilla::Conditional< Condition, A, B >

Conditional selects a class between two, depending on a given boolean value.

mozilla::Conditional<true, A, B>::Type is A; mozilla::Conditional<false, A, B>::Type is B;

Definition at line 1103 of file TypeTraits.h.

Member Typedef Documentation

◆ Type

template<bool Condition, typename A , typename B >
typedef A mozilla::Conditional< Condition, A, B >::Type

Definition at line 1105 of file TypeTraits.h.


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