[Issue 15027] cannot pass arguments of type DirEntry to std.file functions
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Oct 6 00:05:24 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15027
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at dawg.eu
--- Comment #10 from Martin Nowak <code at dawg.eu> ---
(In reply to Walter Bright from comment #5)
> Or, (2) can be accomplished by overloading isDir() to accept string
> arguments. But this implies adding an overload to every function that
> accepts an InputRange. This is out of the question.
What's the problem with that? It's rather good to precompile the common
template instantiations into phobos.
--
More information about the Digitalmars-d-bugs
mailing list