[Issue 7897] Problem with alias template parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 20 16:42:52 PDT 2012


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



--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2012-04-20 16:43:49 PDT ---
(In reply to comment #3)
> As I saw it, this is just a single function pointer (surely that is strictly
> defined by the 'function' keyword?) in a struct.

It isn't a function pointer. Non-static member methods are never a simple
function pointer, they always require a 'this' pointer as well, as they are
delegates. This is not like C++ member function pointers.

-- 
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