BitArray new design
Era Scarecrow
rtcvb32 at yahoo.com
Sun Jan 13 17:40:16 PST 2013
Well some minor update. From the looks of how it is going to be
set up, it is almost entirely a template. Consider you have
BitArray!(Fixed!(1024)), vs BitArray!(Dynamic), in order for one
to copy to the other template functions are needed. Override one
of them, and now i have to define it to handle all slice and
BitArrays as template functions too. not horrible, but has it's
downsides.
Also as for ranges/slices; Some need their contents const while
others don't care. So..
//slice is also a range
struct BitArraySlice(BA, bool isConst){}
Got a lot of work to do, so I wouldn't expect anything for a
couple weeks.
More information about the Digitalmars-d-learn
mailing list