Cannot implicitly convert expression `true` of type `bool` to `Flag`
rikki cattermole
rikki at cattermole.co.nz
Fri Oct 16 15:46:54 UTC 2020
On 17/10/2020 4:20 AM, Ali Çehreli wrote:
> The possibility of calling it wrong is still there. Is that purely the
> caller's fault? What do others think?
I have never been convinced of the arguments against using bool for
flags in params.
But I do think that having named parameters rather than named arguments
would have removed this as an issue. The name should be required.
More information about the Digitalmars-d
mailing list