| Thread overview | |||||
|---|---|---|---|---|---|
|
December 07, 2015 [Issue 10087] std.range.chunks problem with chunkSize = 0 | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10087 bb.temp@gmx.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bb.temp@gmx.com Resolution|--- |FIXED --- Comment #2 from bb.temp@gmx.com --- > I suggest to refuse the chunkSize = 0 with a pre-condition (or worse with an > enforce). You have an assertion for this in Chunk ctor, so you can detect the problem when testing. -- | ||||
December 07, 2015 [Issue 10087] std.range.chunks problem with chunkSize = 0 | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10087 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ag0aep6g@gmail.com --- Comment #3 from ag0aep6g@gmail.com --- (In reply to bb.temp from comment #2) > You have an assertion for this in Chunk ctor, so you can detect the problem when testing. The assert needs to be documented, though: https://github.com/D-Programming-Language/phobos/pull/3858 -- | ||||
March 21, 2020 [Issue 10087] std.range.chunks problem with chunkSize = 0 | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10087 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply