31    std::unique_ptr<QVariant::PrivateShared, Deleter> 
ptr;
 
   33    construct(
ptr->data());
 
   57    size = computeAllocationSize(
size, align);
 
   60    ps->
offset = computeOffset(ps, align);
 
   71    : is_shared(
false), is_null(
false), packedType(
quintptr(iface) >> 2)
 
   76template <
typename T> 
inline 
   78    : is_shared(!CanUseInternalSpace<T>), is_null(
std::is_same_v<T, 
std::nullptr_t>)
 
   81    static constexpr bool isNothrowQVariantConstructible = 
noexcept(
QVariant(
t));
 
   82    static constexpr bool isNothrowCopyConstructible = std::is_nothrow_copy_constructible_v<T>;
 
   83    static constexpr bool isNothrowCopyAssignable = std::is_nothrow_copy_assignable_v<T>;
 
   89    if constexpr (CanUseInternalSpace<T>) {
 
   90        static_assert(isNothrowQVariantConstructible == isNothrowCopyConstructible);
 
   91        static_assert(isNothrowQVariantConstructible == isNothrowCopyAssignable);
 
   94        static_assert(!isNothrowQVariantConstructible); 
 
void * data()
Returns a pointer to the contained object as a generic void* that can be written to.
QVariant() noexcept
Constructs an invalid variant.
Combined button and popup list for selecting options.
static ControlElement< T > * ptr(QWidget *widget)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
static QT_BEGIN_NAMESPACE QVariant::PrivateShared * customConstructShared(size_t size, size_t align, F &&construct)
static void free(PrivateShared *p)
static PrivateShared * create(size_t size, size_t align)
static size_t computeAllocationSize(size_t size, size_t align)
static int computeOffset(PrivateShared *ps, size_t align)
constexpr Private() noexcept