Right after allocators: containers or database connectivity?

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 9 15:13:51 PDT 2015


On Tuesday, 9 June 2015 at 17:15:46 UTC, Dennis Ritchie wrote:
> On Tuesday, 9 June 2015 at 17:12:53 UTC, Liam McSherry wrote:
>> I think containers would be the better option. D sorely needs 
>> to have basics like (de)queues and stacks in the standard 
>> library, as well as any other popular and useful containers.
>
> And `set`.

We have it via RedBlackTree; it's just ugly to use, since you 
have to keep passing in tuples with values that are ignored. But 
with a convenience wrapper around RedBlackTree, that's easily 
fixed. So, we _do_ have it. It's just nowhere near as 
user-friendly as it should be.

- Jonathan M Davis


More information about the Digitalmars-d mailing list