How to implement Ranges in 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.
This should be it
http://www.digitalmars.com/d/2.0/phobos/std_range.html
精彩评论