On 9/20/12 11:06 AM, David Nadlinger wrote:
Bummer that they didn't hold the event in Zurich – maybe I would have
managed to sneak in… ;)
On Thursday, 20 September 2012 at 12:56:44 UTC, Andrei Alexandrescu wrote:
http://laser.inf.ethz.ch/2012/slides/Alexandrescu/2-D%20course%20parts%201%20and%202.pdf
The code on slide 6 contains an issue resp. inaccuracy: Not all random
access ranges are sliceable. Sometimes I wonder (and this is not at all
intended as a snide remark!) if it is too easy to make mistakes
regarding template constraints, if even you as the (co-?) designer of
std.range get them wrong occasionally.
In fairness, this issue is in the air at this time. We're still mulling
over on characterizing infinite ranges that offer random access.
Andrei