More D newb questions.

Walter Bright newshound1 at digitalmars.com
Tue May 6 12:52:56 PDT 2008


Janice Caron wrote:
> because the bottom line is, a container needs to know about its
> elements, but elements do not need to know about their container.
> Allowing ~ to create arrays from primitive types would give built-in
> arrays an unfair advantage over custom arrays, and that alone should
> be enough reason to disallow it.

I missed that one. You're right that it's a sound rebuttal.



More information about the Digitalmars-d mailing list