func_output_iter_abstract.rst 618 B

123456789101112
  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. The function output iterator adaptor makes it easier to create custom
  5. output iterators. The adaptor takes a unary function and creates a
  6. model of Output Iterator. Each item assigned to the output iterator is
  7. passed as an argument to the unary function. The motivation for this
  8. iterator is that creating a conforming output iterator is non-trivial,
  9. particularly because the proper implementation usually requires a
  10. proxy object.