Looking for a Simple Doubly Linked List Implementation

IGotD- nise at nise.com
Thu Oct 29 18:10:28 UTC 2020


On Thursday, 29 October 2020 at 18:06:55 UTC, xpaceeight wrote:
> https://forum.dlang.org/post/bpixuevxzzltiybdrbuh@forum.dlang.org
>
> It contains the data and a pointer to the next and previous 
> linked list node. This is given as follows. struct Node { int 
> data; struct Node *prev; struct Node *next; }; The function 
> insert() inserts the data into the beginning of the doubly 
> linked list. https://jiofilocalhtml.run https://forpc.onl

Is this what you are looking for?
https://dlang.org/phobos/std_container_dlist.html


More information about the Digitalmars-d-learn mailing list