www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14171] New: Mark non-allocating GC functions as nogc


          Issue ID: 14171
           Summary: Mark non-allocating GC functions as  nogc
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: r9shackleford gmail.com

Many functions in the GC don't actually allocate, but are useful for building
tools that help facilitate working around the GC - i.e, AddRange is vital for
manually managed memory that holds references to GC allocated memory. I don't
think there's a reason these shouldn't be  nogc but I could easily be wrong.

Feb 11 2015