Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::detail::is_complete_helper< T, ODR_VIOLATION_PREVENTER > Struct Template Referenceabstract

#include <qmetatype.h>

+ Collaboration diagram for QtPrivate::detail::is_complete_helper< T, ODR_VIOLATION_PREVENTER >:

Public Types

using type = decltype(check(static_cast<T *>(nullptr)))
 

Static Public Member Functions

template<typename U >
static auto check (U *) -> std::integral_constant< bool, sizeof(U) !=0 >
 
static auto check (...) -> std::false_type
 

Detailed Description

template<typename T, typename ODR_VIOLATION_PREVENTER>
struct QtPrivate::detail::is_complete_helper< T, ODR_VIOLATION_PREVENTER >

Definition at line 878 of file qmetatype.h.

Member Typedef Documentation

◆ type

template<typename T , typename ODR_VIOLATION_PREVENTER >
using QtPrivate::detail::is_complete_helper< T, ODR_VIOLATION_PREVENTER >::type = decltype(check(static_cast<T *>(nullptr)))

Definition at line 883 of file qmetatype.h.

Member Function Documentation

◆ check() [1/2]

template<typename T , typename ODR_VIOLATION_PREVENTER >
static auto QtPrivate::detail::is_complete_helper< T, ODR_VIOLATION_PREVENTER >::check ( ...) -> std::false_type
static

◆ check() [2/2]

template<typename T , typename ODR_VIOLATION_PREVENTER >
template<typename U >
static auto QtPrivate::detail::is_complete_helper< T, ODR_VIOLATION_PREVENTER >::check ( U * ) -> std::integral_constant< bool, sizeof(U) !
staticpure virtual

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