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.