Thread overview
Why File is exists in std.stdio and in std.file?
Apr 25, 2017
Suliman
Apr 25, 2017
Daniel Kozák
Apr 25, 2017
FreeSlave
April 25, 2017
Just interesting. Is there any rational reasons for this decision?
April 25, 2017
V Tue, 25 Apr 2017 07:05:51 +0000
Suliman via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
napsáno:

> Just interesting. Is there any rational reasons for this decision?
No it isn't. File is only in std.stdio;

April 25, 2017
On Tuesday, 25 April 2017 at 07:05:51 UTC, Suliman wrote:
> Just interesting. Is there any rational reasons for this decision?

There's no File in std.file. It's located in std.stdio.
std.stdio and std.file are different modules. The first one has safe wrappers around stdio.h from C library, the second one provides operations on files as unit.