Address of parameterless ref function

Cliff Hudson cliff.s.hudson at gmail.com
Sat Apr 9 11:23:00 PDT 2011


No I was wondering if a different compiler would treat the assignment of &g
to f as needing to generate a conversion from int* to int internally (which
I think is what Timon was expecting?), or if it would generate an error
because the signature of f does not match the signature of g (which is what
I would expect.)

On Sat, Apr 9, 2011 at 11:12 AM, Andrej Mitrovic <andrej.mitrovich at gmail.com
> wrote:

> I'm using DMD 2.052. Why, are you allowed to declare delegates with ref
> returns?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110409/fa551765/attachment.html>


More information about the Digitalmars-d mailing list