function pointer bug?

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 28 20:38:38 PDT 2014


On Wednesday, 29 October 2014 at 01:22:43 UTC, Andrei 
Alexandrescu wrote:
> That won't work in D because in D pointers to methods carry 
> "this" with them, whereas in C++ they don't. -- Andrei

I have an idea ! We should call them delegates so people won't 
make the confusion !


More information about the Digitalmars-d mailing list