#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #if defined(__cplusplus) #if defined(Q_CC_GNU) && !defined(Q_CC_INTEL) template < typename T > class QForeachContainer{ /* Some contents are skipped to improve readability */ public: T c; /* ... */ }; #else #endif #endif /* __cplusplus */ #endif /* QGLOBAL_H */