On Tue, 20 Oct 2009 09:09:46 -0400, Andrei Alexandrescu
<seewebsiteforem...@erdani.org> wrote:
Steven Schveighoffer wrote:
On Fri, 16 Oct 2009 05:49:12 -0400, Walter Bright
<newshou...@digitalmars.com> wrote:
Don wrote:
There are two sensible options:
I see the question as, is T[new] a value type or a reference type? I
see it as a reference type, and so assignment should act like a
reference assignment, not a value assignment.
Andrei says you think arrays are like slices with some extra
functionality, but slices are *not* a reference type, they are
hybrids. Do you think T[new] arrays should be fully reference types?
(I do)
I might have misrepresented his position. We both think T[new] is a
reference type, and it was implemented that way in the now defunct
feature.
Yeah, I haven't looked at the newsgroup since Thursday, and I had 500 new
messages to read. Sorry for responding to this dead thread :)
-Steve