mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
![]() `until` does special magic when `Sentinel` consists of multiple elements of `Range`. However, because `Range` can be a range of ranges, in which case even a `Sentinel` that is a range may still only be a single element, we must confirm that the element type of `Sentinel` is actually the same as `Range` before enabling this. The `immutable ElementEncodingType` idiom is stolen from `startsWith`, which forms the basis of `until` anyways (see `predSatisfied`). |
||
---|---|---|
.. | ||
comparison.d | ||
internal.d | ||
iteration.d | ||
mutation.d | ||
package.d | ||
searching.d | ||
setops.d | ||
sorting.d |