#include <QtCore/qatomic.h> #ifndef QATOMIC_H #ifndef Q_SPECIALIZED_QATOMIC template < typename T > struct QBasicAtomicPointer{ /* Some contents are skipped to improve readability */ public: T volatile * pointer; /* ... */ }; #endif // Q_SPECIALIZED_QATOMIC #endif // QATOMIC_H