Not allowed to globally overload operators?

Ali Çehreli acehreli at yahoo.com
Tue Jul 20 18:32:26 UTC 2021


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



More information about the Digitalmars-d-learn mailing list