Voting: std.logger
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 1 08:34:33 PDT 2014
On 08/01/2014 05:31 PM, Martin Nowak wrote:
> Exactly, that's the problem. They collide, so when import both the
> hijack protection will error.
>
> import std.stdio, std.log;
>
> write("foobar"); // matches both std.stdio.write and std.log.write
>
> It'd also make it more difficult to tell what `write("foobar")` does,
> which is unacceptable for such a fundamental operation.
We already have a similar issue with std.stdio.write and std.file.write
that is fairly annoying.
More information about the Digitalmars-d
mailing list