I overloaded the operator () in one of my classes, and I would like to use it in another member function.
class A { public: void operator()(); void operator()(double x); }; void A::operator()() {
The string this->operator() does not work. I just want to use the operator that I defined as a member function of my class A The error I get is: Error 1 error C3867: 'A::operator ()': function call missing argument list; use '&A::operator ()' to create a pointer to member Error 1 error C3867: 'A::operator ()': function call missing argument list; use '&A::operator ()' to create a pointer to member
source share