iterator_adaptor_abstract.rst 966 B

12345678910111213141516171819
  1. .. 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. .. Version 1.1 of this ReStructuredText document corresponds to
  5. n1530_, the paper accepted by the LWG.
  6. .. Copyright David Abrahams, Jeremy Siek, and Thomas Witt 2003.
  7. Each specialization of the ``iterator_adaptor`` class template is derived from
  8. a specialization of ``iterator_facade``. The core interface functions
  9. expected by ``iterator_facade`` are implemented in terms of the
  10. ``iterator_adaptor``\ 's ``Base`` template parameter. A class derived
  11. from ``iterator_adaptor`` typically redefines some of the core
  12. interface functions to adapt the behavior of the ``Base`` type.
  13. Whether the derived class models any of the standard iterator concepts
  14. depends on the operations supported by the ``Base`` type and which
  15. core interface functions of ``iterator_facade`` are redefined in the
  16. ``Derived`` class.