Friday, December 28, 2012

Operator

<=> is the spaceship operator where if the operand on the lefthand side is greater then you return -1. If the righthand side is greater than 1 is returned. The operator is called thus because it looks like an old time video game spaceship.