Cannot understand deprecation message recently added to Phobos

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 11 15:08:57 PDT 2014


> https://github.com/D-Programming-Language/druntime/pull/825

I updated

https://github.com/nordlow/justd/blob/master/pprint.d

with two versions of shortDurationString(). DMD picks the right 
one using

static if (__VERSION__ >= 2066L)
     // new
else
     // old

I hope I it right this time.


More information about the Digitalmars-d-learn mailing list