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

          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: [email protected]
          Reporter: [email protected]

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.

--

Reply via email to