On 7/19/21 11:20 PM, Tejas wrote: > trying to create the spaceship operator of C++
Just to make sure, D's opCmp returns an int. That new C++ operator was added to provide the same semantics.
Ali
Ali Çehreli via Digitalmars-d-learn Tue, 20 Jul 2021 11:35:52 -0700
On 7/19/21 11:20 PM, Tejas wrote: > trying to create the spaceship operator of C++
Just to make sure, D's opCmp returns an int. That new C++ operator was added to provide the same semantics.
Ali