QtCore/qtconcurrentcompilertest.h Source File
Go to the documentation of this file.
42 #ifndef QTCONCURRENT_COMPILERTEST_H
43 #define QTCONCURRENT_COMPILERTEST_H
47 #ifndef QT_NO_CONCURRENT
54 #if defined (Q_CC_MSVC) && (_MSC_VER < 1300)
57 # define QT_TYPENAME typename
66 template<
typename U>
static Yes test(
int,
const typename U::result_type * = 0);
67 template<
typename U>
static No test(
double);
69 enum {
Value = (
sizeof(test<T>(0)) ==
sizeof(Yes)) };
77 #endif // QT_NO_CONCURRENT
#define QT_BEGIN_NAMESPACE