This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] RFC: rename __calculate_memory_order


On 7 December 2011 23:58, Benjamin Kosnik wrote:
>
>> ? ? ? ? * include/bits/atomic_base.h (__calculate_memory_order):
>> Rename to... (__cmpexch_failure_order): This, and rewrite as
>> constexpr function. (compare_exchange_strong, compare_exchange_weak):
>> Use it.
>> ? ? ? ? * include/std/atomic (compare_exchange_strong,
>> compare_exchange_weak): Likewise.
>>
>> Tested x86_64-linux.
>
> looks great to me. More constexpr, what's not to like?

OK, thanks - I checked it in.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]