Polymake Template Library (PTL): polymake::mlist_fold_transform< T, TTransform, TFold > Struct Template Reference
polymake::mlist_fold_transform< T, TTransform, TFold > Struct Template Reference

Detailed Description

template<typename T, template< typename > class TTransform, template< typename, typename > class TFold>
struct polymake::mlist_fold_transform< T, TTransform, TFold >

Transform and fold a meta-list. Every element is transformed with a given unary meta-function TTransform, the result is passed as a left argument to a binary meta-function TFold; 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