container stuff

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue May 25 18:39:26 PDT 2010


On 05/25/2010 08:31 PM, Walter Bright wrote:
> Andrei Alexandrescu wrote:
>> On 05/25/2010 07:35 PM, Walter Bright wrote:
>>> Andrei Alexandrescu wrote:
>>>> I've uploaded a work in progress on the container design here:
>>>
>>> Great! Some nitpicky comments:
>>>
>>> 1. What's the difference between a value and an element?
>>
>> None.
>
> Then I suggest sticking with one or the other throughout the spec. Also,
> there's both an ElementType and a ValueType.

Sorry, I was wrong. ValueType is defined for keyed containers to mean 
the mapped type. Should I call it MappedType?

Andrei


More information about the Digitalmars-d mailing list