Getting the address of a member function at compile time inside a member function

Walter Bright newshound2 at digitalmars.com
Sun Jul 13 02:53:24 UTC 2025


On 7/6/2025 8:28 PM, Steven Schveighoffer wrote:
> It seems the act of being in a member function engages the compiler to try and 
> add a context pointer. And there's no way to turn this off, except to not be in 
> a member function.

But non-static member functions must have a context pointer! It's the whole point.



More information about the Digitalmars-d mailing list