[Issue 5348] Variable Length Arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 26 14:01:36 PDT 2011


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



--- Comment #4 from bearophile_hugs at eml.cc 2011-05-26 13:57:07 PDT ---
(In reply to comment #3)

>    type Matrix_Type is array(Positive range <>, Positive range <>) of Float;

That Matrix_Type it subtle: it also shows that Ada allows the definition of the
_type_ of a _rectangular_ 2D stack-allocated array where the sizes of the sides
of the matrix are not known at compile-time and are not specified into the type
itself.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list