Why after writeln the binaryHeap become empty?

Mike Parker aldacron at gmail.com
Wed Jun 19 06:17:56 UTC 2019


On Wednesday, 19 June 2019 at 06:00:28 UTC, Jonathan M Davis 
wrote:
> On Tuesday, June 18, 2019 10:27:46 PM MDT lili via

>>
>> Do you known reason for why Dlang Range are consumed by 
>> iterating over them. I this design is strange.
>
> If you want an overview of ranges, you can watch this:
>
> https://www.youtube.com/watch?v=A8Btr8TPJ8c
>
> You can also read this:
>
> http://ddili.org/ders/d.en/ranges.html
>
> - Jonathan M Davis

And this excerpt from Learning D:

https://hub.packtpub.com/understanding-ranges/



More information about the Digitalmars-d-learn mailing list