[SG10] Missing feature-test macros since 2017

Jason Merrill jason at redhat.com
Tue Sep 10 04:16:20 CEST 2019


On Mon, Sep 9, 2019 at 10:09 PM Barry Revzin <barry.revzin at gmail.com> wrote:
> On Mon, Sep 9, 2019 at 8:39 AM Jason Merrill <jason at redhat.com> wrote:
>> On Sun, Sep 8, 2019 at 9:36 PM Richard Smith <richard at metafoo.co.uk> 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


More information about the Features mailing list