www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - iz v0.6.18 - Now with a modern, fast, safe, getopt-like function

Last time i promoted my stuff here there were two compiler/Phobos 
bugs preventing to activate this nice getopt-like function.


- It's based on UDA.
- It supports multiple locations for UDA-fied functions and 
- It doesn't use pointers, UDA-ified variable are accessed 
without intermediary.
- It's faster than the phobos one (although getopt is never a 
- It's ` safe` and can be even `nothrow`

It could be easily added to phobos (just need to convert some 
EnumSet to BitFlag).

- code: 
- DUB: https://code.dlang.org/packages/iz
- doc: 
- cool demo: 

Note that despite of the run-time compatibility mention in the 
README, this module is part of a subset of IZ that can be used 
without all the concept of Nogc as used in iz. (at some point i 
should split the twos parts).
May 27 2018