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

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
主站蜘蛛池模板: 阜新市| 中牟县| 剑阁县| 丘北县| 巴林左旗| 拉萨市| 邳州市| 乐山市| 镇宁| 澄江县| 孟州市| 花莲市| 苏尼特右旗| 民乐县| 东阿县| 鹤峰县| 丹阳市| 长岭县| 七台河市| 甘南县| 当涂县| 陵水| 呼图壁县| 松潘县| 吉木萨尔县| 汤原县| 曲水县| 新化县| 吕梁市| 临沂市| 蓬溪县| 四会市| 宜川县| 拉萨市| 濉溪县| 明水县| 江川县| 浦江县| 太湖县| 维西| 紫阳县|