xxxxxxxxxx
import std.stdio;
void foo(string) { writeln("foo(string)"); }
void foo(int) { writeln("foo(int)"); }
void main() {
auto a = cast(void function(string))&foo;
auto b = cast(void function(int))&foo;
a("");
b(10);
}