On Tuesday, 20 July 2021 at 06:20:34 UTC, Tejas wrote:
...Initially, I was trying to create the spaceship operator of C++, but we aren't allowed to create new operators...
D has spaceship operator: opCmp (https://dlang.org/spec/operatoroverloading.html#compare).