Type inference for default function / method arguments?
Imperatorn
johan_forsberg_86 at hotmail.com
Mon May 10 19:32:19 UTC 2021
On Monday, 10 May 2021 at 18:50:02 UTC, Witold Baryluk wrote:
> Hi,
>
> using D for very long time.
>
> I was working on a project, and converting bunch of optional
> `bool` options in various functions, to use `Flag` and
> `BitFlag`, to make it more readable, especially on a call side.
You could maybe use Variant somehow?
More information about the Digitalmars-d
mailing list