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.)<br>
<br><div class="gmail_quote">On Sat, Apr 9, 2011 at 11:12 AM, Andrej Mitrovic <span dir="ltr"><<a href="mailto:andrej.mitrovich@gmail.com">andrej.mitrovich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm using DMD 2.052. Why, are you allowed to declare delegates with ref returns?<br>
</blockquote></div><br>