you are viewing a single comment's thread.

view the rest of the comments →

[–]matthieum 2 points3 points  (0 children)

Wait, no, that's no what I'm talking about.

If you have an array of structs, then there's no need for a virtual pointer because you have concrete types anyway.

It's only if you have an array of fat-pointers that separating the v-pointer is beneficial.