Issue with free() for linked list implementation

Namespace via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 3 16:56:08 PDT 2015


On Friday, 3 April 2015 at 22:38:00 UTC, Gary Willoughby wrote:
> On Friday, 3 April 2015 at 22:08:52 UTC, Kitt wrote:
>> Thanks for the help =) I guess I've been in C# land at work 
>> for way too long now, my low level C skills are evaporating!
>
> I've written a straight forward linked list implementation here:
>
> https://github.com/nomad-software/etcetera/blob/master/source/etcetera/collection/linkedlist.d
>
> Even though I'm using the GC to manage memory, maybe it will 
> help you.

Good idea to link to some existing code. Here is mine:
https://github.com/Dgame/m3/blob/master/source/m3/List.d


More information about the Digitalmars-d-learn mailing list