sdvcn:
void ac(int aa) { }void ac(void *a2) { } int main(string[] argv) { auto v = ∾ //<--- who address } who get "void ac(int aa)" address ?
This code: void foo(int) {} void foo(void*) {} void main() { auto pfoo = &foo; } Gives:test.d(5,17): Error: cannot infer type from overloaded function symbol & foo
Bye, bearophile