The
Vec
explicit-value constructor should:
Set
mySize
to
size
;
Dynamically allocate an array of
size
values of type
Item
, and store the address of the array in
myArray
; and
Set each of the
Item
s in that array to zero.