官术网_书友最值得收藏!

Chapter 3. Ranges

In this chapter, we will investigate the concept of ranges, which is used throughout the D code. We'll look at the following recipes:

  • Using ranges when implementing an algorithm
  • Creating an input range
  • Creating an output range
  • Creating a higher-order range
  • Putting a range interface on a collection
  • Creating an input range over a tree structure
  • Using runtime polymorphic (class) ranges
  • Storing a range as a data member
  • Sorting ranges efficiently
  • Searching ranges
  • Using functional tools to query data
主站蜘蛛池模板: 黄骅市| 黄冈市| 东城区| 河西区| 翁牛特旗| 崇州市| 宁城县| 延寿县| 六安市| 绩溪县| 德兴市| 阿城市| 阿鲁科尔沁旗| 宁陵县| 平原县| 勐海县| 新平| 宾川县| 平度市| 灌阳县| 琼中| 安阳县| 尼木县| 浮山县| 九龙县| 凤庆县| 临海市| 阳东县| 高碑店市| 黔江区| 靖西县| 勃利县| 台东县| 温宿县| 碌曲县| 泸溪县| 浑源县| 安丘市| 英吉沙县| 乐昌市| 稻城县|