[Issue 4271] drop/pop methods for std.algorithm.BinaryHeap
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 4 16:00:10 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4271
--- Comment #3 from bearophile_hugs at eml.cc 2010-06-04 16:00:04 PDT ---
Sorry, that was a partially wrong comment, I meant:
So I have to use:
somefunction(heap.pop(1)[0]);
But being this operation so common, I'd like to write simpler code:
somefunction(heap.pop());
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list