Ranges 为什么出现:从 Iterator Pair 到 Range Abstraction | STL

本章覆盖:classic `[first, last)`;range object;`std::ranges`;begin / end discovery;constrained algorithm;better diagnostics;composability;projection;classic algorithm 仍然重要;Ranges 是扩展,不是把旧 STL 全部废弃。

本章知识点

  • classic [first, last)
  • range object
  • std::ranges
  • begin / end discovery
  • constrained algorithm
  • better diagnostics
  • composability
  • projection
  • classic algorithm 仍然重要
  • Ranges 是扩展,不是把旧 STL 全部废弃