0

can someone explain to me what does this code do in c++ program? I know this is operator overloading but what exactly this type of overloading is used for? Thank you in advance.

class CLess {
public:
 bool operator()(const T& x, const T& y)const { return x < y; }
};
Vladislav
  • 1
  • 1

0 Answers0