// Test and set for pointerstemplate<typenameT>
Q_INLINE_TEMPLATE boolQBasicAtomicPointer<T>::testAndSetOrdered(T *expectedValue, T *newValue){union{ T *volatile* typed;void*volatile* voidp;} pointer;pointer.typed =&_q_value;returnQBasicAtomicPointer_testAndSetOrdered(pointer.voidp, expectedValue, newValue);`
}
// Test and set for pointerstemplate<typenameT>
Q_INLINE_TEMPLATE boolQBasicAtomicPointer<T>::testAndSetOrdered(T *expectedValue, T *newValue){union{ T *volatile* typed;void*volatile* voidp;} pointer;pointer.typed =&_q_value;returnQBasicAtomicPointer_testAndSetOrdered(pointer.voidp,(void*)expectedValue,(void*)newValue);}