Optional parameters?

Boris-Barboris ismailsiege at gmail.com
Sun Apr 1 22:06:57 UTC 2018


On Sunday, 1 April 2018 at 15:54:16 UTC, Steven Schveighoffer 
wrote:
> I currently have a situation where I want to have a function 
> that accepts a parameter optionally.

I would simply use a pointer for this. Fighting D grammar seems 
too much of a hassle for such simple task.



More information about the Digitalmars-d-learn mailing list