Method pointers are *function* pointers?? Or delegates??

Mehrdad wfunction at hotmail.com
Fri May 18 11:22:59 PDT 2012


My brain just exploded.
Can someone explain what's going on?

class Test
{
	public void foo() { }
}

static assert(is(typeof(&Test.foo) == void function()));


More information about the Digitalmars-d mailing list