[Issue 7490] BitArray should support slicing to extract a range
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Apr 24 12:30:29 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=7490
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
Summary|std.array.array(std.bitmani |BitArray should support
|p.BitArray) too |slicing to extract a range
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
That's never going to be supported. What can be supported is for BitArray to
expose a range interface, e.g. via:
BitArray ba;
auto arr = ba[].array; // call opSlice to get a range, then array() will work
I've changed the title.
--
More information about the Digitalmars-d-bugs
mailing list