lvalueiterator.rst

来自「Boost provides free peer-reviewed portab」· RST 代码 · 共 26 行

RST
26
字号
.. Copyright David Abrahams 2006. Distributed under the Boost.. Software License, Version 1.0. (See accompanying.. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)Lvalue Iterator Concept.......................The *Lvalue Iterator* concept adds the requirement that the returntype of ``operator*`` type be a reference to the value type of theiterator.+-------------------------------------------------------------+| Lvalue Iterator Requirements                                |+-------------+-----------+-----------------------------------+|Expression   |Return Type|Note/Assertion                     |+=============+===========+===================================+|``*a``       | ``T&``    |``T`` is *cv*                      ||             |           |``iterator_traits<X>::value_type`` ||             |           |where *cv* is an optional          ||             |           |cv-qualification.                  ||             |           |pre: ``a`` is                      ||             |           |dereferenceable. If ``a            ||             |           |== b`` then ``*a`` is              ||             |           |equivalent to ``*b``.              |+-------------+-----------+-----------------------------------+

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?