<div dir="ltr">On 8 June 2013 09:48, Michel Fortin <span dir="ltr"><<a href="mailto:michel.fortin@michelf.ca" target="_blank">michel.fortin@michelf.ca</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2013-06-07 23:21:53 +0000, Manu <<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a>> said:<br>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thoughts?<br>
</blockquote>
<br>
Reminds me of something similar I implemented a while ago:<br>
<a href="http://michelf.ca/projects/d-objc/syntax/#selector-literals" target="_blank">http://michelf.ca/projects/d-<u></u>objc/syntax/#selector-literals</a><br>
<br>
Not only I think member function pointers are doable, but I think they're solely missing. There have been situations where I'd have used them but instead had to hack my way using a delegate. That was to build a bridge for Objective-C (before I decided to hack the compiler). I'd guess you're doing something of the sort too?</blockquote>
<div><br></div><div style>Precisely. The concept is already embedded inside of delegate, but delegate is framed like a piece of magic, rather than a well defined compound of more primitive pieces.</div><div style>Those primitive pieces would be useful in certain cases (like mine, and yours).</div>
<div style><br></div><div style>I think the only missing detail is a way to express a 'thiscall' function pointer, which I believe my suggestion satisfies quite nicely.</div></div></div></div>