[Issue 12387] New: Mark stdlib malloc and friends as weekly pure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 17 03:28:32 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12387

           Summary: Mark stdlib malloc and friends as weekly pure
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2014-03-17 03:28:30 PDT ---
I don't know what goes on under the hood, but I think these can be marked as
pure?

On the same grounds that most GC.malloc functions are also weekly pure.

It would help a lot, since there is currently no way to mark something as
"trusted pure" without jumping though massive hoops.

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


More information about the Digitalmars-d-bugs mailing list