Thread overview | |||||
---|---|---|---|---|---|
|
September 08, 2020 [Issue 21216] SortedRange.empty should be const, .front should be inout | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21216 --- Comment #1 from Simon Naarmann <eiderdaus@gmail.com> --- Discussion on the D Forums: https://forum.dlang.org/thread/hiuncwrfbpouoluidsyb@forum.dlang.org Gist: Instead of adding const/inout, which might not fit every wrapped range, we should use `template this` to let the compiler figure out the appropriate annotations for empty/front/... individually for each wrapped range. -- |
December 17, 2022 [Issue 21216] SortedRange.empty should be const, .front should be inout | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21216 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
December 01 [Issue 21216] SortedRange.empty should be const, .front should be inout | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21216 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10437 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation