How is 'this' passed to member function calls?

Mike Stump mrs@wrs.com
Tue Aug 31 23:20:00 GMT 1999


This is like saying, I have this loaded shotgun here, and if I angle
it this way into my mouth, will it work?

Well, yes, basically, if you do it right.  I, of course, recommend not
doing that, even if it might work.  It is painful for a C++ programmer
to watch you do that.  We should not help you...

Couldn't use use a templated static member function to do what you
want or something?

> From: "edA-qa mort-ora-y" <iend@spots.ab.ca>
> Date: Sun, 22 Aug 1999 09:38:36 -0600

> I have a situation where I want to directly call member functions,
> via a pointer to the member function and having an object pointer.



More information about the Gcc mailing list