hey. is this valid code?
void func1(int i, double j = 1.0) { } void main() { auto fn = &func1; func1(1); //dmd: ok fn(1); // dmd: not ok }
hey. is this valid code?
void func1(int i, double j = 1.0) { } void main() { auto fn = &func1; func1(1); //dmd: ok fn(1); // dmd: not ok }