Tango BitArray Initialization

Colin Huang colin.hwong at gmail.com
Tue Feb 13 01:33:56 PST 2007


Sean Kelly Wrote:

> Oddly, I wasn't able to get static opAssign to work with this syntax. 
> It seemed to want "BitArray = 0" rather than "BitArray b = 0".  I've 
> modified Tango's BitArray to support:
> 
>      BitArray b = [0,1,0,1];
>      b = [1,0,1,0];
> 
> which is consistent with how built-in arrays work.
> 
> 
> Sean

Good work :)

Colin



More information about the Digitalmars-d-learn mailing list