On 9/29/11 11:24 AM, Vladimir Panteleev wrote:
On Thu, 29 Sep 2011 18:55:39 +0300, Andrei Alexandrescu
<[email protected]> wrote:
Sloppy maintainers may also take the GetOpt object by reference,
change its state, and pass it back.
See my suggestion earlier in this thread.
You mean this:
> Another idea:
>
> GetOptOptions options = { assignChar : ':' };
> getopt(args, options, ...);
>
> Passing GetOptOptions overrides the deprecated global options.
I don't think this adds value. It's just churn.
Andrei