std.stream.File help required (and classes)
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Mar 27 07:46:08 PDT 2012
On Tue, Mar 27, 2012 at 01:58:03PM +0200, akaz wrote:
[...]
> Now, the questions:
>
> 1. why there is std.stdio.File, but also std.stream.File? This
> gives a conflict and explicit names must then be used to avoid
> conflict.
[...]
This is a design flaw that will be fixed eventually. There's a std.io
module in the works that will eventually replace std.stream and
std.stdio. Unfortunately it's at a roadblock right now.
For the conflicts, you could try using 'alias' to disambiguate between
them, or any of the various import aliasing tools.
T
--
The early bird gets the worm. Moral: ewww...
More information about the Digitalmars-d-learn
mailing list