Optional parameters?

Alex sascha.orlov at gmail.com
Sun Apr 1 18:09:07 UTC 2018


On Sunday, 1 April 2018 at 15:54:16 UTC, Steven Schveighoffer 
wrote:
> void main()
> {
>    foo(1); // error
>    int x;
>    foo(x); // error
> }
>

For the first line, I had the same problem a while ago...
https://issues.dlang.org/show_bug.cgi?id=15792


More information about the Digitalmars-d-learn mailing list