← Back to index
|
Original Bugzilla link
Bug 16072 – std.container.binaryheap should be extendable for arrays
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-05-25T02:19:00Z
Last change time
2016-10-01T11:45:43Z
Assigned to
nobody
Creator
greensunny12
Comments
Comment #0
by greensunny12 — 2016-05-25T02:19:13Z
I don't see any reason why the following shouldn't work: import std.container.binaryheap; auto q = heapify!"a > b"([1, 4, 5]); q.insert(2);
Comment #1
by github-bugzilla — 2016-09-16T16:43:53Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/71f01c961de1e710250aee77e00c07839e7b68e3
fix issue 16072 - container.binaryheap should be extendable for arrays
https://github.com/dlang/phobos/commit/6ca3017b9188caca204ed43dade7c851f86e6866
Merge pull request #4359 from wilzbach/fix_16072 fix issue 16072 - container.binaryheap should be extendable for arrays
Comment #2
by github-bugzilla — 2016-10-01T11:45:43Z
Commits pushed to stable at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/71f01c961de1e710250aee77e00c07839e7b68e3
fix issue 16072 - container.binaryheap should be extendable for arrays
https://github.com/dlang/phobos/commit/6ca3017b9188caca204ed43dade7c851f86e6866
Merge pull request #4359 from wilzbach/fix_16072