Function overload pointers
Daniel Ribeiro Maciel
daniel.maciel at gmail.com
Thu Nov 6 17:04:08 PST 2008
I'm having a problem to pass function overload pointers. I have the following situation:
void foo() { writefln( "hello" ); }
void foo(int i) { writefln( "hello 1 int ", i ); }
void foo(int i, int j) { writefln( "hello 2 int ", i, " ", j ); }
I need to be able to build a tuple of all "foo"'s overloads such in as __traits( getVirtualFunctions, ... ), but "foo" is not virtual. Is it possible?
Best regards,
Daniel
More information about the Digitalmars-d-learn
mailing list