[Issue 14171] New: Mark non-allocating GC functions as @nogc
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Feb 11 19:00:25 PST 2015
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: nobody at puremagic.com
Reporter: r9shackleford at 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.
--
More information about the Digitalmars-d-bugs
mailing list