I'm not familiar with C++, and my instructor provided a function that i'm confused about
     operator long (void);
      long operator == (Base & base) {
       return ! strcmp (name, base);
          }
As far as i know, the operator is doing a comparison on 2 Base objects? Or am i wrong? When i call the function itself, its telling me that there is no such function call.
I call the function it returns this error
no matching function for... operator(Base*&,Base&)
 
     
     
     
    