On 01.05.2011 18:30, Andrej Mitrovic wrote:
I'm not sure how to use those wrappers though. Maybe I'm just doing it wrong:

http://codepad.org/eHIdhasc

But it seems these wrappers have some problems, the docs say about the
interfaces:

Limitations:
These interfaces are not capable of forwarding ref access to elements.
Infiniteness of the wrapped range is not propagated.
Length is not propagated in the case of non-random access ranges.
Well, this compiles, you just need to pick suitable type of range 'interface', that's the subtle thingie:
http://codepad.org/uE0nIwbk

Limitations are caused by bug, that is going to get fixed eventually ;)

--
Dmitry Olshansky

Reply via email to