container stuff
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue May 25 18:25:34 PDT 2010
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.
> 2. What's the affect of clear() on the capacity?
There is no guaranteed effect.
> 3. Shouldn't KeyTypes be a type tuple?
Yes. At the end of the day you must be able to say KeyTypes!3 to get the
fourth type there. You say it should be KeyTypes[3]. I see tuple
trouble, sigh. With a template I feel I have more control.
Andrei
More information about the Digitalmars-d
mailing list