digitalmars.D.learn - Why File is exists in std.stdio and in std.file?
- Suliman (1/1) Apr 25 2017 Just interesting. Is there any rational reasons for this decision?
- Daniel =?UTF-8?B?S296w6Fr?= via Digitalmars-d-learn (4/5) Apr 25 2017 V Tue, 25 Apr 2017 07:05:51 +0000
- FreeSlave (5/7) Apr 25 2017 There's no File in std.file. It's located in std.stdio.
Just interesting. Is there any rational reasons for this decision?
Apr 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;
Apr 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.
Apr 25 2017