sequences-views.rst
来自「C++的一个好库。。。现在很流行」· RST 代码 · 共 12 行
RST
12 行
A *view* is a sequence adaptor delivering an altered presentation of
one or more underlying sequences. Views are lazy, meaning that their
elements are only computed on demand. Similarly to the short-circuit
|logical operations| and |eval_if|, views make it possible to avoid
premature errors and inefficiencies from computations whose results
will never be used. When approached with views in mind, many
algorithmic problems can be solved in a simpler, more conceptually
precise, more expressive way.
.. |Views| replace:: `Views`_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?