Polymake Template Library (PTL): polymake::mlist_fold_transform< T, Transform, Fold > Struct Template Reference
Polymake Template Library (PTL)  4.2
polymake::mlist_fold_transform< T, Transform, Fold > Struct Template Reference

Detailed Description

template<typename T, template< typename > class Transform, template< typename, typename > class Fold>
struct polymake::mlist_fold_transform< T, Transform, Fold >

Transform and fold a meta-list. Every element is transformed with a given unary meta-function Transform, the result is passed as a left argument to a binary meta-function Fold; the right argument is the accumulated result for the processed part of the list. Folding starts at the tail of the list. If it should start at the head, the input list must be reversed (

See also
mlist_reverse).

The documentation for this struct was generated from the following file:
  • lib/core/include/meta_list.h