Polymake Template Library (PTL): pm::output_predicate_selector< Iterator, Predicate > Class Template Reference
Polymake Template Library (PTL)  4.2
pm::output_predicate_selector< Iterator, Predicate > Class Template Reference

Inherits Iterator.

Detailed Description

template<typename Iterator, typename Predicate>
class pm::output_predicate_selector< Iterator, Predicate >

Selecting output iterator

This is a combination of an output iterator (called below ‘basis iterator’) and a predicate.

When a data item is assigned to the output iterator, it is first evaluated by the predicate object. Only items mapped to TRUE are passed through to the assignment method of the basis iterator.


The documentation for this class was generated from the following file:
  • lib/core/include/internal/iterator_filters.h