[Issue 13544] calls to std.file.FileException are idup-ing their string arguments
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Sep 29 02:31:13 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13544
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to hsteoh from comment #1)
> A better solution is to use to!string, which is a no-op if the source and
> destination types are identical.
It has the same problem - the copying is done at the call site, when it should
be done by the callee (in order to reduce code bloat).
--
More information about the Digitalmars-d-bugs
mailing list