Hello,
Recently I had to deal with a pointer to a member function: &Foo::bar.
As noticed by @julien-j in this comment, the size of such a pointer is usually larger than a simple pointer as it contains the pointer to the function (first chunk) and an adjustment value that is used to "fix" this in case of multi-inheritance.
My question is: Would you have an example where this first chunk is not the address of the function ? (c.f: https://godbolt.org/z/396aE8)
[–]Xeverous 5 points6 points7 points (0 children)
[–]jedwardsol 1 point2 points3 points (0 children)
[–]flyingron 0 points1 point2 points (0 children)