In #cplusplus you cannot normally compare two random pointers with operator<, but ...
Words
15
Reading
1 min
Listen
Play
2y
... std::less is an exception - It guarantees total ordering of pointers.
... std::less is an exception - It guarantees total ordering of pointers.