Defaulting spaceship operator with custom return type
It appears that the latest Visual Studio compiler can generate operator <=>(...) = default
with only 3 standard return types: std::strong_ordering
, std::weak_ordering
, std::partial_ordering
. But is it consistent with the standard?