Hello Bob.
01 Feb 98 10:40, Bob Gearhart wrote to Roger Scudder:
RS>> What is the scoop with this? BC++ 3.1 tells me it's obsolete.
RS>> Is that correct?
BG> Hi Roger.
BG> BC 3.1 is saying use of a keyword "this" is obsolete, because the
BG> "this" pointer is likely to be over-ridden.
Huh? In what context are you using the words over-ridden?
How does that make the keyword Obsolete?
Here's a very close paraphrase of the top of the help page that
I'm referring to. Can anyone please explain this in a little more
detail than one sentence?
-------------------------------------------
this (C++ keyword)
Use of "this" is now obsolete. A better,
safer, and more general technique is to
define a member function called
x::operator new
instead.
---------------------------------------------
-Roger
... If you think you're confused now, just wait until I explain it.
--- Msged 4.20 beta 3
(1:273/404@fidonet)
---------------
* Origin: Hodge-Podge Support BBS, Upper Darby, Pennsylvania, USA
|