std.getopt and std.datetime

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 13 02:23:31 PDT 2017


On Saturday, May 13, 2017 06:53:25 Russel Winder via Digitalmars-d-learn 
wrote:
> Is there a canonical, idiomatic way of processing std.datetime objects
> using std.getopt?
>
> Currently, I am suffering:
>
> /usr/include/d/std/getopt.d(921): Error: static assert  "Dunno how to deal
> with type SysTime*"
>
> which on the one hand is understandable, albeit dreadful English, but
> then I suppose it is American not English

At best, it's slang. It's not proper anything.

https://github.com/dlang/phobos/pull/5388

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list