On Monday, 10 June 2013 at 14:43:50 UTC, Jacob Carlborg wrote:
On 2013-06-10 15:47, Manu wrote:

I'm really not asking for delegates (although they could become more typesafe given my suggestion), just a member function pointer. And not C++ style as you say, my suggestion is much simpler than that, and would
fit nicely in D.

I give up, I don't understand what you want.

Let me try to summarize it in code:

---
class A { void foo(); }
auto memberFun = (&A.foo).funcptr;

auto a = new A;
memberFun(a);
---

David

Reply via email to