[PATCH] fix generic std::atomic<T>::compare_exchange_{weak,strong}
Paolo Carlini
paolo.carlini@oracle.com
Sat Jul 27 00:45:00 GMT 2013
Hi,
On 07/27/2013 01:07 AM, Nathan Froyd wrote:
> ----- Original Message -----
>> 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
> New patch, this time with tests. Let me know if test placement, etc. need
> adjusting.
Patch looks great, Ok to commit. Minor nits: in the testcase we want
only 2013 as Copyright year and let's standardize on -std=gnu++11.
Thanks,
Paolo.
More information about the Libstdc++
mailing list