[sv-ec] question on dynamic arrays

From: Francoise Martinolle <fm_at_.....>
Date: Tue May 31 2005 - 06:41:58 PDT
    I searched through the description of dynamic arrays in the 1800 latest
draft and
    I cannot find a specification of what are the defined array indexes for
dynamic array which has been
    allocated.
    As per LRM, dynamic array is allocated using new operator:
    dyn_arr = new[size]
    It specifies that the size of the new dyn_arr is 'size' but
    what is left and right range index for dyn_arr?
 
    Is it [0 :size-1] like in C?
 
    Francoise
           '
Received on Tue May 31 06:42:03 2005

This archive was generated by hypermail 2.1.8 : Tue May 31 2005 - 06:42:28 PDT