[PATCH] PR libstdc++/88996 Implement P0439R0 - C++20 - Make std::memory_order a scoped enumeration.

Ed Smith-Rowland 3dw4rd@verizon.net
Mon Mar 4 20:16:00 GMT 2019


On 3/4/19 3:05 PM, Jonathan Wakely wrote:
> On 04/02/19 14:26 +0000, Jonathan Wakely wrote:
>> On 24/01/19 14:50 -0500, Ed Smith-Rowland wrote:
>>>     PR libstdc++/88996 Implement P0439R0
>>>     Make std::memory_order a scoped enumeration.
>>>     * include/bits/atomic_base.h: For C++20 make memory_order a 
>>> scoped enum,
>>>     add assignments for the old constants.  Adjust calls.
>>
>> I think it would be more accurate to say "variables for the old
>> enumerators" rather than "assignments for the old constants".
>>
>> As this only affects C++2a it's OK for trunk now, thanks.
Somehow I missed this.
> Hi Ed, it looks like this wasn't committed yet. Could you please go
> ahead and commit it to trunk (ideally with the changelog tweak I
> suggested above).
>
> Thanks!
>
Done.

Thank you.

Ed


I




More information about the Libstdc++ mailing list