开发者

How to implement Ranges in D

开发者 https://www.devze.com 2023-02-05 07:22 出处:网络
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 kind

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

0

精彩评论

暂无评论...
验证码 换一张
取 消