Compiler Error C2805

binary 'operator operator' has too few parameters

The specified binary operator was called with a void parameter list.

The following is an example of this error:

class X
{
public:
   X operator< ( void );  // error, must take one parameter
   X operator< ( X );     // OK
};