Flexibly sized arrays (was Re: in-parameter)

Steven Schveighoffer schveiguy at yahoo.com
Mon Nov 8 10:57:21 PST 2010


On Mon, 08 Nov 2010 13:46:52 -0500, Pillsy <pillsbury at gmail.com> wrote:

> Besides, isn't catenating or appending in place impossible with D's  
> (immutable) strings anyway?

This is a misconception, a string is not immutable, the data it points to  
is immutable.  You can append to a string just like a mutable array.

-Steve


More information about the Digitalmars-d mailing list