3 ms·
In C++ your relational operators can return std::partial_ordering etc which is a bit more semantically meaningful, for the reader and the compiler.
by jeffbee 3y 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.
- prosqlinjector 3y agoAgreed. And I think that's a good idea to do. It's still possible to do wrong.