QtBase  v6.3.1
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
QtGlobalStatic::Holder< QGS > Union Template Reference

#include <qglobalstatic.h>

Collaboration diagram for QtGlobalStatic::Holder< QGS >:
Collaboration graph
[legend]

Public Types

using Type = typename QGS::QGS_Type
 
using PlainType = std::remove_cv_t< Type >
 

Public Member Functions

 Holder () noexcept(ConstructionIsNoexcept)
 
 ~Holder ()
 
PlainTypepointer () noexcept
 

Public Attributes

PlainType storage
 

Static Public Attributes

static constexpr bool ConstructionIsNoexcept = noexcept(QGS::innerFunction(nullptr))
 
static QBasicAtomicInteger< qint8guard = { QtGlobalStatic::Uninitialized }
 

Detailed Description

template<typename QGS>
union QtGlobalStatic::Holder< QGS >

Definition at line 60 of file qglobalstatic.h.

Member Typedef Documentation

◆ PlainType

template<typename QGS >
using QtGlobalStatic::Holder< QGS >::PlainType = std::remove_cv_t<Type>

Definition at line 63 of file qglobalstatic.h.

◆ Type

template<typename QGS >
using QtGlobalStatic::Holder< QGS >::Type = typename QGS::QGS_Type

Definition at line 62 of file qglobalstatic.h.

Constructor & Destructor Documentation

◆ Holder()

template<typename QGS >
QtGlobalStatic::Holder< QGS >::Holder ( )
inlinenoexcept

Definition at line 71 of file qglobalstatic.h.

Here is the call graph for this function:

◆ ~Holder()

template<typename QGS >
QtGlobalStatic::Holder< QGS >::~Holder ( )
inline

Definition at line 77 of file qglobalstatic.h.

Here is the call graph for this function:

Member Function Documentation

◆ pointer()

template<typename QGS >
PlainType* QtGlobalStatic::Holder< QGS >::pointer ( )
inlinenoexcept

Definition at line 84 of file qglobalstatic.h.

Here is the caller graph for this function:

Member Data Documentation

◆ ConstructionIsNoexcept

template<typename QGS >
constexpr bool QtGlobalStatic::Holder< QGS >::ConstructionIsNoexcept = noexcept(QGS::innerFunction(nullptr))
staticconstexpr

Definition at line 65 of file qglobalstatic.h.

◆ guard

template<typename QGS >
QBasicAtomicInteger<qint8> QtGlobalStatic::Holder< QGS >::guard = { QtGlobalStatic::Uninitialized }
inlinestatic

Definition at line 66 of file qglobalstatic.h.

◆ storage

template<typename QGS >
PlainType QtGlobalStatic::Holder< QGS >::storage

Definition at line 69 of file qglobalstatic.h.


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