[Issue 8114] Methods are delegates, not functions.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 19 19:27:10 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8114



--- Comment #15 from wfunction at hotmail.com 2012-05-19 19:28:45 PDT ---
(In reply to comment #14)
> In a more general context, there's nothing to say a "pointer to member" must be a distinct type.


It depends on what you mean by "pointer to member".

If you say a VARIABLE is a pointer to a member, then yes, it doesn't have to
have a distinct type.

If you say a TYPE is a pointer to a member, then (by definition), it is a
distinct type. (Otherwise, how do you distinguish between a type that is a
pointer-to-member vs. one that isn't?)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list