counting_iterator_abstract.rst 368 B

12345678
  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. ``counting_iterator`` adapts an object by adding an ``operator*`` that
  5. returns the current value of the object. All other iterator operations
  6. are forwarded to the adapted object.