In #cplusplus you cannot normally compare two random pointers with operator<, but ...

Words
15
Reading
1 min
2y
Listen to this post
~1 min

... std::less is an exception - It guarantees total ordering of pointers.



In #cplusplus you cannot normally compare two random pointers with ... | Ecency