Bug 15003 – assumeSorted Allocates GC Memory in Debug Mode
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-09-02T16:18:00Z
Last change time
2015-10-04T18:21:05Z
Assigned to
nobody
Creator
jack
Comments
Comment #0 by jack — 2015-09-02T16:18:57Z
While assumeSorted is marked as @nogc in release mode, while developing this makes it so that any range based code that works with assumeSorted cannot be marked as @nogc, which is especially bad for end-user functions but also hurts Phobos.