[Issue 1654] Array concatenation should result in mutable or invariant depending on usage

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 31 14:32:22 PST 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1654





------- Comment #4 from schveiguy at yahoo.com  2008-01-31 16:32 -------
Forgive me for pushing this point, but it seems that D already has types that
are inherently considered differently because they have pointers.  i.e.
classes:

X *x = new X;

If X is a struct or int, this works.  If it is a class, it fails.

Also, how is treating value types different from pointer-containing types a
problem?  I don't see how it is detrimental to the language.

Thanks for hearing my opinions on this, I'm sure you've discussed this type of
thing ad-nauseam.


-- 



More information about the Digitalmars-d-bugs mailing list