swappableiterator.rst
来自「Boost provides free peer-reviewed portab」· RST 代码 · 共 24 行
RST
24 行
.. 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)Swappable Iterator Concept..........................A class or built-in type ``X`` models the *Swappable Iterator* conceptif, in addition to ``X`` being Copy Constructible, the followingexpressions are valid and respect the stated semantics.+---------------------------------------------------------------------+|Swappable Iterator Requirements (in addition to Copy Constructible) |+-------------------------+-------------+-----------------------------+|Expression |Return Type |Postcondition |+=========================+=============+=============================+|``iter_swap(a, b)`` |``void`` |the pointed to values are || | |exchanged |+-------------------------+-------------+-----------------------------+[*Note:* An iterator that is a model of the *Readable* and *Writable Iterator* concepts is also a model of *Swappable Iterator*. *--end note*]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?