Function Literals

BCS ao at pathlink.com
Wed Mar 14 10:36:44 PDT 2007


Reply to Russell,

> abc() could be overloaded.
> 

that hasn't stopped things before. <g>

void fn(int);
void fn(float);

void foo(void function(int));
void foo(void function(float));

foo(&fn); // this works (badly)





More information about the Digitalmars-d mailing list