June 08, 2012 [Issue 8208] New: BitArray.opApply does not work on const(BitArray) | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8208 Summary: BitArray.opApply does not work on const(BitArray) Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: xammy@xammy.homelinux.net --- Comment #0 from Matthias Walter <xammy@xammy.homelinux.net> 2012-06-08 00:28:00 PDT --- BitArray.opApply has signatures for (ref index, ref value) and (ref value) traversal, but it both do not work on const bit arrays. Of course assignment via ref parameter is not allowed, but traversal of the 0's and 1's is a common operation. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation