Documentation of D arrays

Sebastian Biallas groups.5.sepp at spamgourmet.com
Thu Jan 11 18:07:56 PST 2007


Frits van Bommel wrote:
> BCS wrote:
>> bigger chunk of ram (this dosn't always happen). When the ~ and ~=
>> operators are used, the GC always makes a copy.
> 
> ~ always makes a copy, but ~= only does so when necessary.

The first one is documented on the array page, but where is the
documentation for ~=? Common knowledge by using D?

BtW: What exacly happens on:

a = b ~ c and a ~= b

? Is this some build-in opCat? What are the semantics?



More information about the Digitalmars-d mailing list