Looking for a Simple Doubly Linked List Implementation

Alex sascha.orlov at gmail.com
Sat Sep 21 12:47:46 UTC 2019


On Friday, 20 September 2019 at 20:26:03 UTC, Ron Tarrant wrote:
> Hi guys,
>
> I've been banging my head on the screen with this one for the 
> last week or so. For whatever reason, I'm having major problems 
> understanding how to implement a doubly-linked list in D. I 
> don't know if it's because I'm losing my ability to sort these 
> things or if it's just that different from C.
>
> If someone could please post a minimal example (if there's 
> extra stuff in there, I'll get confused; I'm getting that old, 
> dammit) I'd be ever so grateful.

rosetta code is quite good for such problems

http://rosettacode.org/wiki/Doubly-linked_list/Definition#D


More information about the Digitalmars-d-learn mailing list