On 08/26/2012 02:21 PM, David wrote: > I tried to implement a .save method, which uhm, just > didn't work together with RefRange (isForwardRange!T succeeded, but > isForwardRange!(RefRange!T) failed).
What version of dmd? What is the code?When I add the following lines to the beginning of main() of the program that I have used in my other post, they both pass:
static assert(isForwardRange!TestRange); static assert(isForwardRange!(RefRange!TestRange)); Ali