In C ++, why is this keyword not a link?

Possible duplicate:
Why & & lsquo; this & rsquo; is a pointer, not a link?

Hey guys,

Is there a good reason that this is a pointer instead of a reference in C ++?

+7
c ++ design
source share
3 answers

This concept was introduced before the conceptual concept. At that time, this was supposed to be a pointer. A source

+14
source share
+1
source share

As crazy as it sounds, it is really legal to delete this; . Sometimes it is even justified, but very rare.

-3
source share

All Articles