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::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: