std.container update - now Array is in
Michel Fortin
michel.fortin at michelf.com
Thu May 27 19:27:03 PDT 2010
On 2010-05-27 21:08:29 -0400, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> said:
>
> http://erdani.com/d/phobos/std_container.html
> http://erdani.com/d/phobos/container.d
>
> I defined Array as a straightforward implementation of the homonym
> abstraction. There are a few imperfect corners, but by and large I'm
> starting to believe it's becoming possible to write certain
> cross-container codes.
I don't get that:
@property void reserve(size_t e)
Why is reserve a property? You want it called like that?
array.reserve = 10;
I'm sure it's just an oversight.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list