July 20, 2004 overloaded inner functions | ||||
|---|---|---|---|---|
| ||||
This code:
int main()
{
void fn( int x ) {}
void fn() {}
return 0;
}
produces this message:
declaration main.fn is already defined
| ||||
Copyright © 1999-2021 by the D Language Foundation
July 20, 2004 overloaded inner functions | ||||
|---|---|---|---|---|
| ||||
This code:
int main()
{
void fn( int x ) {}
void fn() {}
return 0;
}
produces this message:
declaration main.fn is already defined
| ||||