I am reading something about virtual table. When it comes to pointer __vptr
,
it is stated that by the author
Unlike the
*this
pointer, which is actually a function parameter used by the compiler to resolve self-references,*__vptr
is a real pointer. Consequently, it makes each class object allocated bigger by the size of one pointer.
What does it mean here by saying this
is actually a function parameter? And this
is not a real pointer?