Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement Ranges in D

Tags:

range

d

How do you implement your own range in D? I've looked everywhere but I can't find any documentation on which methods (like popFront, for example) need to be implemented for which kinds of ranges.

like image 662
user541686 Avatar asked Jan 17 '11 18:01

user541686


1 Answers

This should be it

http://www.digitalmars.com/d/2.0/phobos/std_range.html

like image 95
Michal Minich Avatar answered Oct 18 '22 00:10

Michal Minich