core.time.Duration.get depreciation time is up

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 28 17:05:19 PDT 2015


http://dlang.org/phobos/core_time.html#.Duration.get

>Deprecated. Please use split instead. Too frequently, get or one 
>of the individual unit getters is used when the function that 
>gave the desired behavior was total. This should make it more 
>explicit and help prevent bugs. This function will be removed in 
>June 2015.

June has come and passed...


More information about the Digitalmars-d mailing list