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

Reply via email to