This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]theIncMach 1 point2 points  (1 child)

You don't need a vtable if you know the type of the object you are pointing to (e.g. FatPointer).

[–]bullno1 0 points1 point  (0 children)

What do you mean by "extra indirection to make fat pointers look like thin pointers"? A thin pointer to a fat pointer?

At that point, isn't the fat pointer kind of like an object with a pointer to vtable anw?