Hacker News new | ask | show | jobs
by jeffbee 992 days ago
In C++ your relational operators can return std::partial_ordering etc which is a bit more semantically meaningful, for the reader and the compiler.
1 comments

Agreed. And I think that's a good idea to do. It's still possible to do wrong.