Am I reading this wrong, or is std.getopt *really* this stupid?

Vladimir Panteleev thecybershadow.lists at gmail.com
Sun Mar 25 07:01:01 UTC 2018


On Sunday, 25 March 2018 at 06:58:50 UTC, Seb wrote:
>> I think that there are at least a couple alternatives to 
>> std.getopt on code.dlang.org if you want alternatives.
>
> Yes, two good ones are:
>
> https://blog.thecybershadow.net/2014/08/05/ae-utils-funopt

funopt is based on getopt underneath, so this issue still applies 
to it, sorry!

Well, funopt translates options to function arguments, so there's 
no way to specify a delegate anyway, but at least the performance 
aspect applies.



More information about the Digitalmars-d mailing list