[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 21:08:53 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15027
--- Comment #12 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Martin Nowak from comment #10)
> (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.
The problem is that it pretty much doubles the number of functions in Phobos.
And means that everyone who writes a reusable library has to have double
functions.
--
More information about the Digitalmars-d-bugs
mailing list