Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
February 17, 2008 [Issue 1846] New: bitmanip.BitArray.opIndex need const read-only version | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1846 Summary: bitmanip.BitArray.opIndex need const read-only version Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: someanon@yahoo.com function std.bitmanip.BitArray.opIndex (uint) does not match parameter types (int) Error: opIndex can only be called on a mutable object, not const(BitArray) -- |
February 17, 2008 [Issue 1846] bitmanip.BitArray.opIndex need const read-only version | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1846 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from andrei@metalanguage.com 2008-02-17 03:55 ------- In fact it only needs the const version. I made the change and a unittest, and will commit to the next release. There's going to be many const annotations to do throughout the library... Andrei -- |
February 17, 2008 Re: [Issue 1846] bitmanip.BitArray.opIndex need const read-only version | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | > There's going to be many const annotations to
> do throughout the library...
Including
const int opCmp(in Object o)
const bool object.opEquals(in Object o)
const hash_t object.toHash()
const string object.toString()
in Object?
Please...?
|
February 18, 2008 Re: [Issue 1846] bitmanip.BitArray.opIndex need const read-only version | ||||
---|---|---|---|---|
| ||||
Posted in reply to Janice Caron | Janice Caron <caron800@googlemail.com> wrote: > > There's going to be many const annotations to > > do throughout the library... > > in Object? > > Please...? Andrei doesn't seem to monitor this group. Use Bugzilla's Comment facilities if you want his attention. -- SnakE |
February 18, 2008 Re: [Issue 1846] bitmanip.BitArray.opIndex need const read-only version | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey Gromov | On 18/02/2008, Sergey Gromov <snake.scaly@gmail.com> wrote:
> Janice Caron <caron800@googlemail.com> wrote:
> > > There's going to be many const annotations to
> > > do throughout the library...
> >
> > in Object?
> >
> > Please...?
>
> Andrei doesn't seem to monitor this group. Use Bugzilla's Comment facilities if you want his attention.
I already put that one in bugzilla. I was just quietly reminding folk of it. :-)
|
March 07, 2008 [Issue 1846] bitmanip.BitArray.opIndex need const read-only version | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1846 braddr@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #4 from braddr@puremagic.com 2008-03-07 01:29 ------- Marking resolved. Changes from the original report was released in 2.011. The second issues is duplicated over in issue 1824 -- |
Copyright © 1999-2021 by the D Language Foundation