Bug 17919 – std.container.Array could use pureMalloc

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-10-20T20:33:45Z
Last change time
2017-12-18T22:55:51Z
Assigned to
Nathan S.
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2017-10-20T20:33:45Z
Using pureMalloc like std.typecons.RefCounted does would make it possible to use std.container.Array in `pure` code.
Comment #1 by n8sh.secondary — 2017-10-25T17:17:40Z
Comment #2 by github-bugzilla — 2017-11-14T23:42:16Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/06d738f069a4ade5dfcbfc579865237003839ccd Fix Issue 17919: Make std.container.Array use pureMalloc Using pureMalloc like std.typecons.RefCounted does would make it possible to use std.container.Array in `pure` code. https://github.com/dlang/phobos/commit/8e4dfdbd50fbd4a0cadc2bcfa0eae01e4f4ad81e Merge pull request #5794 from n8sh/container-array-puremalloc Fix Issue 17919: Make std.container.Array use pureMalloc merged-on-behalf-of: Andrei Alexandrescu <[email protected]>
Comment #3 by github-bugzilla — 2017-12-18T22:55:51Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/06d738f069a4ade5dfcbfc579865237003839ccd Fix Issue 17919: Make std.container.Array use pureMalloc https://github.com/dlang/phobos/commit/8e4dfdbd50fbd4a0cadc2bcfa0eae01e4f4ad81e Merge pull request #5794 from n8sh/container-array-puremalloc