C++ Logo


Advanced search

Subject: Re: [SG10] Feature-testing macros for spaceship operator
From: Richard Smith (richard_at_[hidden])
Date: 2018-07-30 12:55:25

On Sun, 29 Jul 2018 at 01:21, Ville Voutilainen <ville.voutilainen_at_[hidden]>

> Hi! It seems reasonable to enable spaceship operator support
> for 3rd party types conditionally. See
> https://codereview.qt-project.org/#/c/235303/

I agree.

Perhaps __cpp_spaceship and __cpp_lib_spaceship,
> for the language feature and the library support, respectively?

I think I would weakly prefer __cpp_three_way_comparison /

SG10 list run by sg10-owner@lists.isocpp.org