On 2010-05-27 21:08:29 -0400, Andrei Alexandrescu <seewebsiteforem...@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.for...@michelf.com
http://michelf.com/

Reply via email to