BitArray oddities

Adam D. Ruppe destructionator at gmail.com
Thu Jan 9 18:12:37 PST 2014


On Friday, 10 January 2014 at 02:08:21 UTC, Adam S wrote:
> Can anyone explain the reason for this setup?

BitArray was mostly written back in the D1 days, before structs 
were allowed to have constructors. It got partially updated, but 
the majority of its code is still an old style.

I recently talked about this on SO too:

http://stackoverflow.com/questions/19679148/struct-constructor-or-init/19686732#19686732


More information about the Digitalmars-d-learn mailing list