Qt 4.8
Public Types | Private Types | Static Private Functions | List of all members
QtPrivate::HasResultType< T > Class Template Reference

#include <qtconcurrentcompilertest.h>

Public Types

enum  { Value = (sizeof(test<T>(0)) == sizeof(Yes)) }
 

Private Types

typedef void * No
 
typedef char Yes
 

Static Private Functions

template<typename U >
static Yes test (int, const typename U::result_type *=0)
 
template<typename U >
static No test (double)
 

Detailed Description

template<class T>
class QtPrivate::HasResultType< T >

Definition at line 63 of file qtconcurrentcompilertest.h.

Typedefs

◆ No

template<class T >
typedef void* QtPrivate::HasResultType< T >::No
private

Definition at line 65 of file qtconcurrentcompilertest.h.

◆ Yes

template<class T >
typedef char QtPrivate::HasResultType< T >::Yes
private

Definition at line 64 of file qtconcurrentcompilertest.h.

Enumerations

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
Value 

Definition at line 69 of file qtconcurrentcompilertest.h.

Functions

◆ test() [1/2]

template<class T >
template<typename U >
static Yes QtPrivate::HasResultType< T >::test ( int  ,
const typename U::result_type *  = 0 
)
staticprivate

◆ test() [2/2]

template<class T >
template<typename U >
static No QtPrivate::HasResultType< T >::test ( double  )
staticprivate

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