RefRange
Ali Çehreli
acehreli at yahoo.com
Sun Aug 26 14:33:48 PDT 2012
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
More information about the Digitalmars-d-learn
mailing list