V2 string
Sean Kelly
sean at f4.ca
Thu Jul 5 00:15:41 PDT 2007
Derek Parnell wrote:
> I'm converting Bud to compile using V2 and so far its been a very hard
> thing to do. I'm finding that I'm now having to use '.dup' and '.idup' all
> over the place, which is exactly what I thought would happen. Bud does a
> lot of text manipulation so having 'string' as invariant means that calls
> to functions that return string need to often be .dup'ed because I need to
> assign the result to a malleable variable.
So just use char[] instead of 'string'. I don't plan to use the aliases
much either.
Sean
More information about the Digitalmars-d
mailing list