Why call member function through this pointer?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Why would someone call a non-static provate member function from
another non-static member function of the same class via the this
pointer?


Thanks
 
Dmitry F said:
Why would someone call a non-static provate member function from
another non-static member function of the same class via the this
pointer?

In the future, please to not multi-post. Instead, put each of the
intended newsgroups into the 'Newsgroups' header. That way,
replies are not duplicated and threads are not disjoint.

Your query has already been answered, redundantly, in at
least two of the newsgroups you multi-posted to.

Followups set accordingly.
 
Dmitry said:
Why would someone call a non-static provate member function from
another non-static member function of the same class via the this
pointer?

I do it for clarity. While it takes a compiler a mere fraction of a
millisecond to resolve the scope of an unqualified function call, it is
often much more tedious for humans.

--
Gerhard Menzl

#dogma int main ()

Humans may reply by replacing the thermal post part of my e-mail address
with "kapsch" and the top level domain part with "net".
 
Back
Top