Collections in D

Roguish nospam at nospam.net
Wed Jan 13 12:06:05 UTC 2021


On Wednesday, 13 January 2021 at 11:58:11 UTC, Roguish wrote:
> I can't find anything about collections in D. All I have found 
> are arrays and maps ("associative arrays"). What about lists 
> and sets? What if I just want a linked list?

It seems collections are called "containers" in D's standard 
library, which explains why I didn't find anything searching for 
"collections".

As concerns linked lists, I have found

    https://dlang.org/phobos/std_container_dlist.html

which seems perfectly adequate.

What about sets?


More information about the Digitalmars-d-learn mailing list