getOpt with shared

Basile B. b2.temp at gmx.com
Sat May 12 16:49:07 UTC 2018


On Friday, 11 May 2018 at 17:25:44 UTC, Danny Arends wrote:
> Hey all,
>
>
> Is getopt not supposed to be used with shared structs ?

I don't know but if you are opened to alternative i have just 
tested my getopt-like function at it works with shared, i don't 
know why... The design is different tho, it's not based on 
pointer, it rather generates the code to write the data without 
indirection.

links:
- 
https://github.com/BBasile/iz/commit/ac8b2e23214ec8c2d3a1000895b374f9c73f8ca7
- http://bbasile.github.io/iz/iz/options.html#handleArguments

Baz.


More information about the Digitalmars-d-learn mailing list