<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
At the moment, the ref-ness of the return type is not determined<br>
correctly because of a compiler bug. Otherwise, that works mostly<br>
fine.<br><br></blockquote><div><br></div><div>Thank you Max for showing me toDelegate. But I find that it does not work even for function arguments with default values. So for the moment I will trod the path Steve showed me.</div>
<div><br></div><div>Regards</div><div>- Puneet</div><div><br></div></div>