Closed SavenkovIgor closed 7 months ago
PHP seems to have such an operator as well
echo $a <=> $a; // 0 since they are equal
echo $a <=> $b; // -1 since $a < $b
echo $b <=> $a; // 1 since $b > $a
This renders in VSCode with Monspace Neon and all ligature options enabled as follows:
See #11
Thanks @biggianteye. I did not search for "spaceship" in the issues, didn't even know that this operator has a name :)
Closing due to duplicate
This is a new c++ operator from c++20 standard
Expected behavior: This 3 symbols <=> has its own ligature.
Actual behavior: Applied ligature for 'less or equal' and then symbol 'more'