Not allowed to globally overload operators?

Tejas notrealemail at gmail.com
Wed Jul 21 03:33:36 UTC 2021


On Tuesday, 20 July 2021 at 18:32:26 UTC, Ali Çehreli wrote:
> 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

I know. As I already mentioned,  I just wanted the ```<=>``` 
symbol :(


More information about the Digitalmars-d-learn mailing list