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::AreArgumentsCompatible< A1, A2 > Struct Template Reference

#include <qobjectdefs_impl.h>

+ Collaboration diagram for QtPrivate::AreArgumentsCompatible< A1, A2 >:

Public Types

enum  { value = sizeof(test(std::declval<std::remove_reference_t<A1>>())) == sizeof(int) }
 

Static Public Member Functions

static int test (const std::remove_reference_t< A2 > &)
 
static char test (...)
 

Detailed Description

template<typename A1, typename A2>
struct QtPrivate::AreArgumentsCompatible< A1, A2 >

Definition at line 297 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename A1 , typename A2 >
anonymous enum
Enumerator
value 

Definition at line 300 of file qobjectdefs_impl.h.

Member Function Documentation

◆ test() [1/2]

template<typename A1 , typename A2 >
static char QtPrivate::AreArgumentsCompatible< A1, A2 >::test ( ...)
static

◆ test() [2/2]

template<typename A1 , typename A2 >
static int QtPrivate::AreArgumentsCompatible< A1, A2 >::test ( const std::remove_reference_t< A2 > & )
static

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