www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18397] New: Poor implementation of std.conf.hexString results

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 puremagic.com
          Reporter: bugzilla 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.

--
Feb 07 2018