[PATCH] fix generic std::atomic<T>::compare_exchange_{weak,strong}

Paolo Carlini paolo.carlini@oracle.com
Fri Jul 26 20:00:00 GMT 2013


Hi,

On 07/26/2013 08:42 PM, Nathan Froyd wrote:
> Sure, I can do that.  For maximum effectiveness, it'd be good to have it check the specializations for atomic<>, too.  Is there something in the libstdc++ testsuite for iterating template instantiations over a list of types, or do I have to roll the list myself?
testsuite/29_atomics already uses testsuite_common_types.h

Paolo.



More information about the Gcc-patches mailing list