std.file, std.stdio(File), std.stream(File:Stream)

Dmitry Olshansky dmitry.olsh at gmail.com
Tue May 15 08:47:24 PDT 2012


On 15.05.2012 19:32, H. S. Teoh wrote:
> On Tue, May 15, 2012 at 05:14:15PM +0200, ref2401 wrote:
>> general question:
>> -std.file,
>
> std.file is badly named. It really deals with the _filesystem_, that is,
> pathnames, etc.. It doesn't deal with individual files.
>

Bleh, std.file.read does just that - reads entire file into memory. In 
essence std.file works with filesystem and files, and unit of work is a 
file.

>
>> -std.stdio.File,
>
> Use this.
>
>
>> -std.stream.File
>
> This will soon be deprecated, don't use it.
Yup.

-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list