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