Do infinite bidirectional ranges make any sense?

Jonathan M Davis jmdavisProg at gmx.com
Mon Aug 13 17:10:39 PDT 2012


On Tuesday, August 14, 2012 01:57:17 deadalnix wrote:
> I do see the lack of actual practical use case, (it doesn't mean none
> exists, but few exists) but what does excluding that case brings us ?

I don't know if it's useful one way or the other as far as making it illegal 
goes, but it's certainly useful for generating range types to test with, since 
it's extra work to create an infinite range which is bidirectional.

- Jonathan M Davis


More information about the Digitalmars-d mailing list