Indirect jumps

bearophile bearophileHUGS at lycos.com
Fri Jan 18 04:07:12 PST 2008


Christian Wrote>I think that it is not possible, because the functions are called through indirection. The pointer to the function would be saved to memory and then would be called using this pointer, then how know the compiler that this call is for a nested function?<

I think D delegates may help. And true closures of D 2.x may solve other problems left.

Bye,
bearophile



More information about the Digitalmars-d mailing list