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

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
主站蜘蛛池模板: 南投县| 广南县| 名山县| 启东市| 凤城市| 徐闻县| 邵东县| 紫金县| 大冶市| 本溪市| 华蓥市| 古田县| 法库县| 温泉县| 化州市| 保亭| 荔浦县| 柘城县| 阳泉市| 会宁县| 沿河| 慈溪市| 宁晋县| 资溪县| 岳池县| 边坝县| 和顺县| 新干县| 卢氏县| 德昌县| 运城市| 商水县| 蒲江县| 武定县| 郧西县| 托克逊县| 星子县| 临沭县| 普安县| 海盐县| 方城县|