On 05/27/2010 09:27 PM, Michel Fortin wrote:
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.

Sorry, fixed now.

Andrei

Reply via email to