How to get address of a nested function?

Max Samukha maxsamukha at gmail.com
Tue Nov 10 19:47:01 UTC 2020


On Tuesday, 10 November 2020 at 14:36:04 UTC, Steven 
Schveighoffer wrote:

>> 
>> Is there a way to get a pointer to a non-static nested 
>> function?
>
> I don't think you can do it at compile time. You can at runtime 
> by accessing the funcptr of the delegate.
>
> -Steve

Thanks for the reply. I will post the issue to bugzilla.


More information about the Digitalmars-d-learn mailing list