Type of a missing actual parameter
Dicebot
public at dicebot.lv
Wed Oct 9 05:34:55 PDT 2013
On Wednesday, 9 October 2013 at 12:33:07 UTC, Manfred Nowak wrote:
> The compiler accepts a dangling comma in a comma separated list
> of actual
> parameters.
> What is the type of this missing actual parameter?
>
> -manfred
There is no missing parameter. It is just a convenience syntax to
avoid copy-paste mistakes. Those two are equivalent:
```
void foo( int, double, string, );
```
vs
```
void foo( int, double, string );
```
More information about the Digitalmars-d
mailing list