Structs and Variadic Functions (Keyword arguments)
Xinok
xnknet at gmail.com
Tue Jan 9 08:55:49 PST 2007
Don Clugston Wrote:
> Bill Baxter wrote:
> > And this one's not about keyword args, but about default parameters and
> > function pointers in general. Started by Don Clugston.
> > http://www.digitalmars.com/d/archives/digitalmars/D/27291.html
>
> Wow! That was my third ever D post!
While this post is still here, I'd like to make this suggestion:
We have the 'default' keyword, let's use it!
void func(int a = 15, int b = 30, int c = 45);
func(45, default, 60);
More information about the Digitalmars-d
mailing list