Qt 6.x
The Qt SDK
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 277 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 280 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: