1 module imports.std11069range;
2 
3 public import imports.std11069array;
4 
5 template isInputRange(R)
6 {
7     enum bool isInputRange = is(typeof(
8     (inout int = 0)
9     {
10         R r = void;       // can define a range object
11         if (r.empty) {}   // can test for empty
12         r.popFront();     // can invoke popFront()
13         auto h = r.front; // can get the front of the range
14     }));
15 }