resizeable arrays: T[new]

Lars Ivar Igesund larsivar at igesund.net
Mon Jun 4 04:48:02 PDT 2007


Daniel Keep wrote:

> 
> I agree with your reasoning for this (honestly, the solution had never
> occured to me before, although looking back I can think of a few places
> where it would have been quite useful), although I can't say I'm a fan
> of the syntax.  The "new" inside the brackets just looks strange; a new
> what?

> T[*]  // Indicating the index could be anything

This one.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d-announce mailing list