www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14716] New: recognize snprintf() in CTFE

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

          Issue ID: 14716
           Summary: recognize snprintf() in CTFE
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

Currently, many formatting options in std.format fail in CTFE because they are
implemented using snprintf(). If CTFE can recognize those, and run snprintf()
itself, a lot more code can be CTFE'able.

--
Jun 20 2015