new
subtype_indication | new
qualified_expression
pragma
CONTROLLED (access_type_simple_name);
new
CELL'(0, null
, null
) -- initialized explicitly
new
CELL'(VALUE => 0, SUCC => null
, PRED => null
)
-- initialized explicitly
new
CELL -- not initialized
new
MATRIX(1 .. 10, 1 .. 20) -- the bounds only are given
new
MATRIX'(1 .. 10 => (1 .. 20 => 0.0))
-- initialized explicitly
new
BUFFER(100) -- the discriminant only is given
new
BUFFER'(SIZE => 80, POS => 0, VALUE => (1 .. 80 => `A'))
-- initialized explicitly