obsolete D libraries/modules

Jacob Carlborg doob at me.com
Sun Sep 1 10:20:56 PDT 2013


On 2013-09-01 16:28, Andrei Alexandrescu wrote:

>> string outputFile;
>> getopt(args, "output", &outputFile).min(2).max(4).restrict("a", "b",
>> "c", "d");
>
> What would this line do?

The "output" argument expects at least two values and at most four. The 
values can be "a", "b", "c" or "d".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list