C++ Logo

sg10

Advanced search

Re: [SG10] Missing feature-test macros since 2017

From: Jason Merrill <jason_at_[hidden]>
Date: Mon, 9 Sep 2019 22:16:20 -0400
On Mon, Sep 9, 2019 at 10:09 PM Barry Revzin <barry.revzin_at_[hidden]> wrote:
> On Mon, Sep 9, 2019 at 8:39 AM Jason Merrill <jason_at_[hidden]> wrote:
>> On Sun, Sep 8, 2019 at 9:36 PM Richard Smith <richard_at_[hidden]> wrote:
>> >
>> >> - <=> != == (should bump both the class nttp macro, and the 3-way comparison macro)
>> >
>> > Yes, we should do something about this. Per the above I think we should take a holistic view for <=> feature macros. Bumping the class type NTTP macro makes sense to me. Does any vendor advertise the old value yet?
>>
>> G++ does.
>
> Arguably, it shouldn't though? That version of NTTP is based on defaulted operator<=>, and g++ doesn't implement operator<=> yet.

I suppose not, but I was skeptical of that relationship and figured
people could check for op<=> separately.

In any case, yes, bumping the NTTP macro value sounds good.

Jason

Received on 2019-09-10 04:16:36