Address of instance member function

Max Samukha samukha at voliacable.com
Sat Mar 31 05:20:47 PDT 2007


What is the meaning of the value returned by the address operator
applied to an instance member function as if that function were
static?

class Foo
{
	void bar()
	{
	}		
}

void main()
{
	writefln(&Foo.bar);		
}


More information about the Digitalmars-d-learn mailing list