mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 16:12:10 +02:00
9 lines
402 B
ReStructuredText
9 lines
402 B
ReStructuredText
![]() |
The indirect iterator adapts an iterator by applying an *extra*
|
||
|
dereference inside of ``operator*()``. For example, this iterator
|
||
|
adaptor makes it possible to view a container of pointers
|
||
|
(e.g. ``list<foo*>``) as if it were a container of the pointed-to type
|
||
|
(e.g. ``list<foo>``) .
|
||
|
|
||
|
.. At some point we should add the capability to handle
|
||
|
iterators over smart pointers, which the impl handles. -JGS
|