[Issue 4545] Alias to members possible without "this" instance
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 1 15:29:57 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4545
Jacob Carlborg <doob at me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doob at me.com
--- Comment #1 from Jacob Carlborg <doob at me.com> 2010-08-01 15:29:55 PDT ---
I think your first example should be legal because you can create a delegate
out of the alias and an instance of A.
void delegate () dg;
dg.ptr = new A;
dg.funcptr = &goo;
dg(); // this works
--
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