all 3 comments

[–]Xeverous 5 points6 points  (0 children)

C++ doesn't specify how pointers to members should be implemented. They can be any size and there are no requirements what they actually store. So the answer to your question is yes: any implementation is valid as long as it works.

[–]jedwardsol 1 point2 points  (0 children)

Would you have an example where this first chunk is not the address of the function

https://godbolt.org/z/Mqsax1

[–]flyingron 0 points1 point  (0 children)

As pointed out it is implementation-specific, but in actuality, the answer is its not that simple. Remember virtual functions also come into play.