April 11, 2017 Get method address from alias? | ||||
---|---|---|---|---|
| ||||
I only have an alias to the method without a this pointer, is there any way to get the address? Something like struct T{ void foo(){} } alias A = Alias!(__traits(getMemeber, T, "foo")); void* A_addres = ? // Somehow get the address from A |
Copyright © 1999-2021 by the D Language Foundation