1.0 ?? [templates and currying]
Walter Bright
newshound at digitalmars.com
Mon Nov 6 23:29:14 PST 2006
Kirk McDonald wrote:
> Which brings up another point: It's really great that you added the .ptr
> property to delegates in 0.168, but it would also be great to have a .fn
> property to access the function pointer. (And optimally, this pointer
> would be of the right type, and not just a void*.)
Ok, but as long as everyone realizes the function cannot be called via
that function pointer (because the calling convention for delegates is
different because there's that extra parameter). The type of the
.funcptr would only be useful for extracting other information.
More information about the Digitalmars-d
mailing list