Re: Confusion on the spaceship operator in C++20
I don't think <=> always returns -1, 0, 1. That's certainly not what cppreference is implying.
Exact, it's three special values of a special type. But I wanted to explain the general principle simpler and where it comes from.
There's no need to copy the C++ spec.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector