[phobos] Deprecation of std.date

Walter Bright walter at digitalmars.com
Sun Jan 16 11:48:36 PST 2011



Jonathan M Davis wrote:
>
> Regardless, there will be one function - the version std.file.lastModified which 
> just takes the file name - which will break the build of anyone using it, because 
> the only thing changing in its signature is its return type (SysTime instead of 
> d_time), so there's no way to overload it. Fortunately, however, I think that 
> it's the only function in that boat.
>
>   

It needs to have a different name if its return type changes.


More information about the phobos mailing list