The below code works as expected on https://run.dlang.io/, but
not on my computer. And I don't know why?
I want to access enum members like Options.OUT_FILE_NAME instead
of Options.StringOption.OUT_FILE_NAME.
Please note that the solutions like "alias something = int;"
don't work for me. tha
On Saturday, 2 October 2021 at 22:07:23 UTC, Ferhat Kurtulmuş
wrote:
The below code works as expected on https://run.dlang.io/, but
not on my computer. And I don't know why?
You used .stringof. That's undefined behavior. Never use
stringof. (except for debugging writes)
Now, I'd actually pro
On Saturday, 2 October 2021 at 22:24:56 UTC, Adam Ruppe wrote:
On Saturday, 2 October 2021 at 22:07:23 UTC, Ferhat Kurtulmuş
wrote:
[...]
You used .stringof. That's undefined behavior. Never use
stringof. (except for debugging writes)
[...]
Thank you Adam! I should stop using stringof. Ev