webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WTF::__storage_wrapper< _Type > Struct Template Reference

#include <Variant.h>

Public Member Functions

template<typename _Dummy = _Type>
 __storage_wrapper (typename std::enable_if< std::is_default_constructible< _Dummy >::value, void(__storage_wrapper::*)()>::type=nullptr)
 
template<typename _Dummy = _Type>
 __storage_wrapper (typename std::enable_if<!std::is_default_constructible< _Dummy >::value, void(__storage_wrapper::*)()>::type=nullptr)
 
template<typename _First , typename ... _Args>
 __storage_wrapper (_First &&__first, _Args &&... __args)
 
_Type & __get ()
 
constexpr _Type const & __get () const
 
void __destroy ()
 
template<typename _Dummy = _Type>
 __storage_wrapper (typename std::enable_if< std::is_default_constructible< _Dummy >::value, void(__storage_wrapper::*)()>::type=nullptr)
 
template<typename _Dummy = _Type>
 __storage_wrapper (typename std::enable_if<!std::is_default_constructible< _Dummy >::value, void(__storage_wrapper::*)()>::type=nullptr)
 
template<typename _First , typename ... _Args>
 __storage_wrapper (_First &&__first, _Args &&... __args)
 
_Type & __get ()
 
constexpr _Type const & __get () const
 
void __destroy ()
 
template<typename _Dummy = _Type>
 __storage_wrapper (typename std::enable_if< std::is_default_constructible< _Dummy >::value, void(__storage_wrapper::*)()>::type=nullptr)
 
template<typename _Dummy = _Type>
 __storage_wrapper (typename std::enable_if<!std::is_default_constructible< _Dummy >::value, void(__storage_wrapper::*)()>::type=nullptr)
 
template<typename _First , typename ... _Args>
 __storage_wrapper (_First &&__first, _Args &&... __args)
 
_Type & __get ()
 
constexpr _Type const & __get () const
 
void __destroy ()
 

Static Public Member Functions

template<typename ... _Args>
static constexpr void __construct (void *__p, _Args &&... __args)
 
template<typename ... _Args>
static constexpr void __construct (void *__p, _Args &&... __args)
 
template<typename ... _Args>
static constexpr void __construct (void *__p, _Args &&... __args)
 

Public Attributes

std::aligned_storage< sizeof(_Type), alignof(_Type)>::type __storage
 

Constructor & Destructor Documentation

◆ __storage_wrapper() [1/9]

template<typename _Type >
template<typename _Dummy = _Type>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( typename std::enable_if< std::is_default_constructible< _Dummy >::value, void(__storage_wrapper< _Type >::*)()>::type  = nullptr)
inline

◆ __storage_wrapper() [2/9]

template<typename _Type >
template<typename _Dummy = _Type>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( typename std::enable_if<!std::is_default_constructible< _Dummy >::value, void(__storage_wrapper< _Type >::*)()>::type  = nullptr)
inline

◆ __storage_wrapper() [3/9]

template<typename _Type >
template<typename _First , typename ... _Args>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( _First &&  __first,
_Args &&...  __args 
)
inline

◆ __storage_wrapper() [4/9]

template<typename _Type >
template<typename _Dummy = _Type>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( typename std::enable_if< std::is_default_constructible< _Dummy >::value, void(__storage_wrapper< _Type >::*)()>::type  = nullptr)
inline

◆ __storage_wrapper() [5/9]

template<typename _Type >
template<typename _Dummy = _Type>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( typename std::enable_if<!std::is_default_constructible< _Dummy >::value, void(__storage_wrapper< _Type >::*)()>::type  = nullptr)
inline

◆ __storage_wrapper() [6/9]

template<typename _Type >
template<typename _First , typename ... _Args>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( _First &&  __first,
_Args &&...  __args 
)
inline

◆ __storage_wrapper() [7/9]

template<typename _Type >
template<typename _Dummy = _Type>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( typename std::enable_if< std::is_default_constructible< _Dummy >::value, void(__storage_wrapper< _Type >::*)()>::type  = nullptr)
inline

◆ __storage_wrapper() [8/9]

template<typename _Type >
template<typename _Dummy = _Type>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( typename std::enable_if<!std::is_default_constructible< _Dummy >::value, void(__storage_wrapper< _Type >::*)()>::type  = nullptr)
inline

◆ __storage_wrapper() [9/9]

template<typename _Type >
template<typename _First , typename ... _Args>
WTF::__storage_wrapper< _Type >::__storage_wrapper ( _First &&  __first,
_Args &&...  __args 
)
inline

Member Function Documentation

◆ __construct() [1/3]

template<typename _Type >
template<typename ... _Args>
static constexpr void WTF::__storage_wrapper< _Type >::__construct ( void __p,
_Args &&...  __args 
)
inlinestatic

◆ __construct() [2/3]

template<typename _Type >
template<typename ... _Args>
static constexpr void WTF::__storage_wrapper< _Type >::__construct ( void __p,
_Args &&...  __args 
)
inlinestatic

◆ __construct() [3/3]

template<typename _Type >
template<typename ... _Args>
static constexpr void WTF::__storage_wrapper< _Type >::__construct ( void __p,
_Args &&...  __args 
)
inlinestatic

◆ __destroy() [1/3]

template<typename _Type >
void WTF::__storage_wrapper< _Type >::__destroy ( )
inline

◆ __destroy() [2/3]

template<typename _Type >
void WTF::__storage_wrapper< _Type >::__destroy ( )
inline

◆ __destroy() [3/3]

template<typename _Type >
void WTF::__storage_wrapper< _Type >::__destroy ( )
inline

◆ __get() [1/6]

template<typename _Type >
_Type& WTF::__storage_wrapper< _Type >::__get ( )
inline

◆ __get() [2/6]

template<typename _Type >
_Type& WTF::__storage_wrapper< _Type >::__get ( )
inline

◆ __get() [3/6]

template<typename _Type >
_Type& WTF::__storage_wrapper< _Type >::__get ( )
inline

◆ __get() [4/6]

template<typename _Type >
constexpr _Type const& WTF::__storage_wrapper< _Type >::__get ( ) const
inline

◆ __get() [5/6]

template<typename _Type >
constexpr _Type const& WTF::__storage_wrapper< _Type >::__get ( ) const
inline

◆ __get() [6/6]

template<typename _Type >
constexpr _Type const& WTF::__storage_wrapper< _Type >::__get ( ) const
inline

Member Data Documentation

◆ __storage

template<typename _Type >
_Type * WTF::__storage_wrapper< _Type >::__storage

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