Hi, there is a feature when working with the InputRange. I don't know when it released available. May be somewhere D compiler between v2.087 and v2.096 (works) but definitely not before v2.087 (including)...

Anyone know this?

```d
import std.range.primitives;
void main()
{
  auto arr = [0, 1];
  arr.popFront;

  assert(arr.front == 1);
  assert(isInputRange!(typeof(arr)));
}
```

SDB@79

Reply via email to