On Friday, 5 October 2012 at 13:39:56 UTC, ref2401 wrote:
import std.range;

int[] numbers = [1, 3, 5, 7, 9, 11];

auto rangeObject = inputRangeObject(numbers);
auto inputRange = cast(InputRange!(int[]))rangeObject;

why does 'inputRange' equal null?

Suggested reading:

http://ddili.org/ders/d.en/ranges.html

Forget about the std.range objects.

NMS

Reply via email to