Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPrivate::QFlagsStorage< Enum > Class Template Reference

#include <qflags.h>

+ Inheritance diagram for QtPrivate::QFlagsStorage< Enum >:
+ Collaboration diagram for QtPrivate::QFlagsStorage< Enum >:

Public Member Functions

constexpr QFlagsStorage () noexcept=default
 
constexpr QFlagsStorage (std::in_place_t, Int v)
 

Protected Types

typedef std::conditional< std::is_unsigned< typenamestd::underlying_type< Enum >::type >::value, typenameIntegers::Unsigned, typenameIntegers::Signed >::type Int
 

Protected Attributes

Int i = 0
 

Detailed Description

template<typename Enum>
class QtPrivate::QFlagsStorage< Enum >

Definition at line 56 of file qflags.h.

Member Typedef Documentation

◆ Int

template<typename Enum>
typedef std::conditional<std::is_unsigned<typenamestd::underlying_type<Enum>::type>::value,typenameIntegers::Unsigned,typenameIntegers::Signed>::type QtPrivate::QFlagsStorage< Enum >::Int
protected

Definition at line 70 of file qflags.h.

Constructor & Destructor Documentation

◆ QFlagsStorage() [1/2]

template<typename Enum>
QtPrivate::QFlagsStorage< Enum >::QFlagsStorage ( )
inlineconstexprdefaultnoexcept

◆ QFlagsStorage() [2/2]

template<typename Enum>
QtPrivate::QFlagsStorage< Enum >::QFlagsStorage ( std::in_place_t ,
Int v )
inlineexplicitconstexpr

Definition at line 77 of file qflags.h.

References i.

Member Data Documentation

◆ i

template<typename Enum>
Int QtPrivate::QFlagsStorage< Enum >::i = 0
protected

Definition at line 72 of file qflags.h.

Referenced by QFlagsStorage().


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