Issue with free() for linked list implementation

Namespace via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 4 02:19:39 PDT 2015


On Saturday, 4 April 2015 at 09:05:03 UTC, bearophile wrote:
> Namespace:
>
>>> 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
>
> In 99%+ of cases it's a bad idea to use a linked list.
>
> Bye,
> bearophile

The thread creator wanted to use it.


More information about the Digitalmars-d-learn mailing list