Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / February 2005

Tip: Looking for answers? Try searching our database.

Why call member function through this pointer?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dmitry F - 17 Feb 2005 21:41 GMT
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
Larry Brasfield - 17 Feb 2005 21:51 GMT
> 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.

Signature

--Larry Brasfield
email: donotspam_larry_brasfield@hotmail.com
Above views may belong only to me.

Gerhard Menzl - 18 Feb 2005 07:58 GMT
> 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.

Signature

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".


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.