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
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 328 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 331 of file qqmlprivate.h.

◆ yes_type

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

Definition at line 330 of file qqmlprivate.h.

Member Function Documentation

◆ cast()

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

Definition at line 336 of file qqmlprivate.h.

◆ checkType() [1/2]

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

◆ checkType() [2/2]

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

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