]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/iterator/doc/indirect_iterator_abstract.rst
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / iterator / doc / indirect_iterator_abstract.rst
CommitLineData
7c673cae
FG
1.. Copyright David Abrahams 2006. Distributed under the Boost
2.. Software License, Version 1.0. (See accompanying
3.. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5``indirect_iterator`` adapts an iterator by applying an
6*extra* dereference inside of ``operator*()``. For example, this
7iterator adaptor makes it possible to view a container of pointers
8(e.g. ``list<foo*>``) as if it were a container of the pointed-to type
9(e.g. ``list<foo>``). ``indirect_iterator`` depends on two
10auxiliary traits, ``pointee`` and ``indirect_reference``, to
11provide support for underlying iterators whose ``value_type`` is
12not an iterator.
13
14
15