More D newb questions.

Steven Schveighoffer schveiguy at yahoo.com
Tue May 6 12:02:31 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.

This is a much better reason than what Walter has been saying :)  Thanks!

-Steve 





More information about the Digitalmars-d mailing list