Google C++ style guide

sclytrack idiot at hotmail.com
Sun Oct 4 03:20:20 PDT 2009


> >Function Parameter Ordering: When defining a function, parameter order is:
inputs, then outputs.<
> D may even enforce this, allowing "out" only after "in" arguments.
> -------------------

Function Default Arguments

void foo(int x, int y = 3)
{
   ...
}
...
foo(4);   // same as foo(4, 3)



More information about the Digitalmars-d mailing list