[Issue 15230] Inconsistent std.range.SortedRange predicate checks

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 25 18:52:40 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15230

Jack Stouffer <jack at jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack at jackstouffer.com

--- Comment #1 from Jack Stouffer <jack at jackstouffer.com> ---
I would consider this as "working as intended", as the checks are only supposed
to happen in debug mode. In a PR of mine, I asked @schveiguy if it made any
sense to have any checks in a function that is supposed to be assuming
something. He said it's strange, but it's nice to have something that double
checks for you, in debug mode only.

--


More information about the Digitalmars-d-bugs mailing list