mirror of
https://github.com/dlang/phobos.git
synced 2025-05-12 23:29:01 +03:00
make cycle opDollar manifest constant
This commit is contained in:
parent
201edf4c80
commit
0ac90b1770
2 changed files with 3 additions and 7 deletions
|
@ -468,9 +468,9 @@ private struct MapResult(alias fun, Range)
|
|||
static if (!isInfinite!R && hasSlicing!R)
|
||||
{
|
||||
static if (is(typeof(_input[ulong.max .. ulong.max])))
|
||||
private alias ulong opSlice_t;
|
||||
private alias opSlice_t = ulong;
|
||||
else
|
||||
private alias uint opSlice_t;
|
||||
private alias opSlice_t = uint;
|
||||
|
||||
auto opSlice(opSlice_t lowerBound, opSlice_t upperBound)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue