quote:Original post by civguy
std::less is a wrapper that uses the operator<() -interface. std::more is a wrapper that uses the operator>() -interface.
By default. Being template constructs, you can specialize them for your own type to invoke any form of comparison (usually a derivative or aggregation of operator < and operator > invocations on data or properties) and allow standard algorithms use the std::less and std::more adaptors with impunity.
Which you already know, and which I feel compelled to reiterate to show off how ostensibly knowledgeable I am. Sheesh!