[Issue 18397] New: Poor implementation of std.conf.hexString results in unintended bloat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 8 01:45:22 UTC 2018


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

          Issue ID: 18397
           Summary: Poor implementation of std.conf.hexString results in
                    unintended bloat
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

import std.conv;

  void test() {
    auto data = cast(ubyte[]) hexString!"deadbeef";
  }

Results in quite a bit of unexpected template bloat emitted into the object
file, not all of which is removed by the linker.

--


More information about the Digitalmars-d-bugs mailing list