std.file vs

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Thu Mar 4 12:50:41 PST 2010

Ali Çehreli wrote:
> Lars T. Kyllingstad wrote:
>  > What you're seeing here is actually a consequence of Phobos very much
>  > being a work-in-progress.  std.stdio was completely rewritten about a
>  > year ago, and it most likely contains what you're looking for.
>  >
>  >, on the other hand, hasn't seen major updates since 2005 or
>  > so, and is most likely an old left-over from D1.  I suspect it will be
>  > removed soon, or at least completely rewritten to adhere to the range
>  > interface.
> I've been using because it uses the generic Stream 
> interface like dout and din does.
> Using should allow cleaner template code without needing 
> 'static if' and other conditional compilation features.

Unfortunately it has the major drawback of not working anymore when is deprecated.


More information about the Digitalmars-d-learn mailing list