www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DList access the previous element

I'd like to implement a Skyline Rectangle packing algorithm.
A DList should store the actual Skyline. (So the order is 
important, it will mostly have to access the right or left node 
And a Binary Heap which should hold a pointer to every DList 
(Mostly for fast accessing the smallest element)

The problem is that there is no node access for DList, only a 
bidirectional range access.
So in a doubly linked list there is no way to access the previous 
How can i get this work without rewriting a DList?

Jan 01 2016