[Issue 3720] Taking address of member functions possible without an instance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 4 09:51:57 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=3720

--- Comment #17 from FeepingCreature <default_357-line at yahoo.de> ---
Right, but I think it's more of a syntax issue. Taking the address of a member
function without a this pointer may in rare cases be useful, but I don't see
what purpose it serves that we're able to take the address without even using
the class name, ie. &fun in static.

--


More information about the Digitalmars-d-bugs mailing list