Bit subscriptions, RAM columnwise layouts

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Dec 11 13:30:14 PST 2008


On Thu, Dec 11, 2008 at 4:20 PM, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> I like it.  a.bits[1..5] = 0 looks a hell of a lot better than a &= ~(((1 <<
> 4) - 1) << 1)

I like it too, and I think it would be an extremely welcome addition
to a systems-level programming language.

It also makes me remember the old bit[], which I always thought should
have be castable to and from numeric types.  Oh, bit.



More information about the Digitalmars-d mailing list