Difference between concatenation and appendation
WhatMeWorry via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 25 19:01:08 PST 2015
On Monday, 26 January 2015 at 01:57:04 UTC, bearophile wrote:
> Laeeth Isharc:
>
>> I think concatenation and append are used as synonyms (the
>> same meaning is meant). a~=b or a=a~b
>
> a=a~b always allocates a new array, while a~=b sometimes
> re-allocates in place.
>
> Bye,
> bearophile
Perfect! Thank you. I'll scribble your quote you in the margin
of my TDPL book.
More information about the Digitalmars-d-learn
mailing list