Hello
In many OOP languages "this"(or something similar) is used to point to current object. But i think its an object by itself. Here is what i found" polymorphic object which can point in different times to different object`s types"
I like to get some more information about this maybe some science article.
Thank you in advance.
yakovm
36
Light Poster
Recommended Answers
Jump to PostWhat more information could there possibly be??? As you already stated its just a pointer to the current c++ class object.
For example, here's the output of the following in c++. It shows that the this pointer is the same in both child and parent.
A: …
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
csurfer
422
Posting Pro
BestJewSinceJC
700
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.