std.bitmanip - bitshift?

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 12 08:13:38 PST 2014


On 12/12/14 8:39 AM, Trollgeir wrote:
> http://dlang.org/phobos/std_bitmanip.html
>
> Does anyone know how to bit-shift a BitArray?
>
> I'm trying to make spikes in a neural network travel along the
> bits as they have various lengths.

That is a surprising omission from a bit-oriented type...

You also cannot opSlice a BitArray. Nice for enhancement requests, if 
you want to add them to the issue tracker.

-Steve


More information about the Digitalmars-d-learn mailing list