Daniel Ribeiro Maciel wrote:
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?

Yes, because __traits(getVirtualFunctions) returns final functions. Once that bug is fixed, it won't be nearly as possible.

Best regards,
Daniel

Reply via email to