C++ Logo


Advanced search

Re: [SG10] Feature-testing macros for spaceship operator

From: Richard Smith <richard_at_[hidden]>
Date: Mon, 30 Jul 2018 10:55:25 -0700
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 /

Received on 2018-07-30 20:55:02