libzypp: function_output_iterator Class Reference

libzypp 17.38.15

function_output_iterator Class Reference

An output iterator wrapping a unary function object; each time an element is written into the dereferenced iterator, it is passed as a parameter to the function object. More...

`#include <zypp-core/base/Iterator.h>`

## Detailed Description

An output iterator wrapping a unary function object; each time an element is written into the dereferenced iterator, it is passed as a parameter to the function object.

Provides boost::function_output_iterator and boost::make_function_output_iterator convenience function.

See also
  http://www.boost.org/libs/iterator/doc/function_output_iterator.html
  template <class UnaryFunction>
  function_output_iterator<UnaryFunction>
  make_function_output_iterator(const UnaryFunction& f = UnaryFunction());
  function_output_iterator
  An output iterator wrapping a unary function object; each time an element is written into the derefer...

The documentation for this class was generated from the following file:

- zypp-core/base/Iterator.h