[Issue 11041] New: Some function in core.stdc should be CTFEable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 14 22:22:12 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11041

           Summary: Some function in core.stdc should be CTFEable
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: ttanjo at gmail.com


--- Comment #0 from Tomoya Tanjo <ttanjo at gmail.com> 2013-09-14 22:22:11 PDT ---
It prevents some functions in Phobos from being CTFEable.
For instance, core.stdc.string.memcpy prevents std.algorithm.move from being
CTFEable (I think it should be).

A workaround for it is that we implement functions in druntime in D by
ourselves in each module
but it is better to provide their CTFEable implementations in druntime.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list