Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlPrivate::StaticCastSelector< From, To > Struct Template Reference

#include <qqmlprivate.h>

+ Collaboration diagram for QQmlPrivate::StaticCastSelector< From, To >:

Public Types

typedef int yes_type
 
typedef char no_type
 

Static Public Member Functions

static yes_type checkType (To *)
 
static no_type checkType (...)
 
static int cast ()
 

Detailed Description

template<class From, class To>
struct QQmlPrivate::StaticCastSelector< From, To >

Definition at line 319 of file qqmlprivate.h.

Member Typedef Documentation

◆ no_type

template<class From , class To >
typedef char QQmlPrivate::StaticCastSelector< From, To >::no_type

Definition at line 322 of file qqmlprivate.h.

◆ yes_type

template<class From , class To >
typedef int QQmlPrivate::StaticCastSelector< From, To >::yes_type

Definition at line 321 of file qqmlprivate.h.

Member Function Documentation

◆ cast()

template<class From , class To >
static int QQmlPrivate::StaticCastSelector< From, To >::cast ( )
inlinestatic

◆ checkType() [1/2]

template<class From , class To >
static no_type QQmlPrivate::StaticCastSelector< From, To >::checkType (   ...)
static

◆ checkType() [2/2]

template<class From , class To >
static yes_type QQmlPrivate::StaticCastSelector< From, To >::checkType ( To *  )
static

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