Cannot implicitly convert delegate to function
Stewart Gordon
smjg_1998 at yahoo.com
Thu Apr 27 10:31:01 PDT 2006
Jarrett Billingsley wrote:
<snip>
> The other way around.. I don't think so either. Something tells me the
> mechanism for a delegate call would screw up if the context pointer were
> null, or if the function weren't designed to be a delegate.
But why? I can't understand why a function that doesn't touch the
context pointer at all can't be trivially be converted to a delegate in
which the context pointer is null.
Stewart.
More information about the Digitalmars-d-learn
mailing list