3 ms·
C++ just has this under-the-hood access to be able to define any comparison operator to do arbitrary things. C++20 is now more aware that this things are used
by de_watcher 7y ago
C++ just has this under-the-hood access to be able to define any comparison operator to do arbitrary things.
C++20 is now more aware that this things are used for comparison, and it helps to make definitions shorter.
Still handles non-totally-ordered cases fine.