A code example that shows why I don't like warnings
Adam D. Ruppe
destructionator at gmail.com
Fri Oct 18 18:22:33 UTC 2019
On Friday, 18 October 2019 at 18:19:55 UTC, Alexandru Ermicioi
wrote:
> You can define a bool enum in the body of static if (inside
> foreach) and then wrap default return statement with static if
> that checks if that enum was defined. If it wasn't then return
> "default".
oh that's not horrible and it works too. But still I don't love
it :)
BTW as of today my whole lib will compile with warnings including
when exercising the more complicated templates!
More information about the Digitalmars-d
mailing list