[Issue 13544] calls to std.file.FileException are idup-ing their string arguments

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 28 19:48:51 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13544

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #3 from Martin Nowak <code at dawg.eu> ---
Well is that really a problem for hopefully rare case that an exception is
thrown?
If you add an overload you duplicate the function and the source code.
When you templatize it instead you'll add template code bloat to every user of
that function.

--


More information about the Digitalmars-d-bugs mailing list