== Quote from Andrei Alexandrescu
(seewebsiteforem...@erdani.org)'s article:

> 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 think it might be a good idea is to make it so that, for struct
types, when they're removed from the containers, their destructors
are run[1]. That way containers would be able to work with some
kinds of "smart pointer" abstractions once the compiler is up to
supporting them, which would make both the containers and
the "smart pointers" a good deal more useful.

Cheers,
Pillsy

[1] I asked some questions about the feasibility of this in d.learn.

Reply via email to