For example: in a C++ header file, if I defined a struct Record and I would like to use it for possible sorting so that I want to overload the less operator>
struct Record
less operator>
Favor in-class unless it cannot be in-class because first argument is the wrong type.