Thread overview | |||||
---|---|---|---|---|---|
|
February 26, 2015 Why rbtree.length isn't const? | ||||
---|---|---|---|---|
| ||||
Is it intended by some reason? |
February 26, 2015 Re: Why rbtree.length isn't const? | ||||
---|---|---|---|---|
| ||||
Posted in reply to drug | On 2/26/15 3:20 AM, drug wrote: > Is it intended by some reason? No, it can be fixed. RBTree was not written to support const because D doesn't support tail-const ranges, which makes const really difficult to deal with. But length can definitely be const. Please submit an issue. http://issues.dlang.org -Steve |
March 02, 2015 Re: Why rbtree.length isn't const? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 26.02.2015 18:44, Steven Schveighoffer wrote: > Please submit an issue. http://issues.dlang.org > > -Steve Done: https://issues.dlang.org/show_bug.cgi?id=14234 |
Copyright © 1999-2021 by the D Language Foundation