webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Public Attributes | List of all members
WTF::ExpectedDetail::Storage< T, E > Union Template Reference

#include <Expected.h>

Public Types

typedef T ValueType
 
typedef E ErrorType
 
typedef T ValueType
 
typedef E ErrorType
 
typedef T ValueType
 
typedef E ErrorType
 

Public Member Functions

constexpr Storage ()
 
constexpr Storage (ValueTagType)
 
constexpr Storage (ErrorTagType)
 
constexpr Storage (ValueTagType, const ValueType &val)
 
constexpr Storage (ValueTagType, ValueType &&val)
 
constexpr Storage (ErrorTagType, const ErrorType &err)
 
constexpr Storage (ErrorTagType, ErrorType &&err)
 
 ~Storage ()
 
constexpr Storage ()
 
constexpr Storage (ValueTagType)
 
constexpr Storage (ErrorTagType)
 
constexpr Storage (ValueTagType, const ValueType &val)
 
constexpr Storage (ValueTagType, ValueType &&val)
 
constexpr Storage (ErrorTagType, const ErrorType &err)
 
constexpr Storage (ErrorTagType, ErrorType &&err)
 
 ~Storage ()
 
constexpr Storage ()
 
constexpr Storage (ValueTagType)
 
constexpr Storage (ErrorTagType)
 
constexpr Storage (ValueTagType, const ValueType &val)
 
constexpr Storage (ValueTagType, ValueType &&val)
 
constexpr Storage (ErrorTagType, const ErrorType &err)
 
constexpr Storage (ErrorTagType, ErrorType &&err)
 
 ~Storage ()
 

Public Attributes

char dummy
 
ValueType val
 
ErrorType err
 

Member Typedef Documentation

◆ ErrorType [1/3]

template<class T, class E>
typedef E WTF::ExpectedDetail::Storage< T, E >::ErrorType

◆ ErrorType [2/3]

template<class T, class E>
typedef E WTF::ExpectedDetail::Storage< T, E >::ErrorType

◆ ErrorType [3/3]

template<class T, class E>
typedef E WTF::ExpectedDetail::Storage< T, E >::ErrorType

◆ ValueType [1/3]

template<class T, class E>
typedef T WTF::ExpectedDetail::Storage< T, E >::ValueType

◆ ValueType [2/3]

template<class T, class E>
typedef T WTF::ExpectedDetail::Storage< T, E >::ValueType

◆ ValueType [3/3]

template<class T, class E>
typedef T WTF::ExpectedDetail::Storage< T, E >::ValueType

Constructor & Destructor Documentation

◆ Storage() [1/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( )
inline

◆ Storage() [2/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  )
inline

◆ Storage() [3/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  )
inline

◆ Storage() [4/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  ,
const ValueType val 
)
inline

◆ Storage() [5/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  ,
ValueType &&  val 
)
inline

◆ Storage() [6/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  ,
const ErrorType err 
)
inline

◆ Storage() [7/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  ,
ErrorType &&  err 
)
inline

◆ ~Storage() [1/3]

template<class T, class E>
WTF::ExpectedDetail::Storage< T, E >::~Storage ( )
inline

◆ Storage() [8/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( )
inline

◆ Storage() [9/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  )
inline

◆ Storage() [10/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  )
inline

◆ Storage() [11/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  ,
const ValueType val 
)
inline

◆ Storage() [12/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  ,
ValueType &&  val 
)
inline

◆ Storage() [13/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  ,
const ErrorType err 
)
inline

◆ Storage() [14/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  ,
ErrorType &&  err 
)
inline

◆ ~Storage() [2/3]

template<class T, class E>
WTF::ExpectedDetail::Storage< T, E >::~Storage ( )
inline

◆ Storage() [15/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( )
inline

◆ Storage() [16/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  )
inline

◆ Storage() [17/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  )
inline

◆ Storage() [18/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  ,
const ValueType val 
)
inline

◆ Storage() [19/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ValueTagType  ,
ValueType &&  val 
)
inline

◆ Storage() [20/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  ,
const ErrorType err 
)
inline

◆ Storage() [21/21]

template<class T, class E>
constexpr WTF::ExpectedDetail::Storage< T, E >::Storage ( ErrorTagType  ,
ErrorType &&  err 
)
inline

◆ ~Storage() [3/3]

template<class T, class E>
WTF::ExpectedDetail::Storage< T, E >::~Storage ( )
inline

Member Data Documentation

◆ dummy

template<class T, class E>
char Storage::dummy

◆ err

template<class T, class E>
ErrorType Storage::err

◆ val

template<class T, class E>
ValueType Storage::val

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