sjelkjd, here's a reply for you. Oh, and offtopic is allowed here ;)

Started by
10 comments, last by civguy 21 years ago
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!
Advertisement
what''s this about spanish whores?

This topic is closed to new replies.

Advertisement