MPL11
|
The Foldable
typeclass is used for data structures that can be folded.
More...
Classes | |
struct | boost::mpl11::foldr< f, state, structure > |
Right-associative fold of a structure using a binary operation. More... | |
struct | boost::mpl11::foldr1< f, structure > |
Variant of foldr that has no base case, and thus may only be applied to non-empty structures. More... | |
struct | boost::mpl11::foldl< f, state, structure > |
Left-associative fold of a structure using a binary operation. More... | |
struct | boost::mpl11::foldl1< f, structure > |
Variant of foldl that has no base case, and thus may only be applied to non-empty structures. More... | |
struct | boost::mpl11::all< predicate, structure > |
Returns whether all the elements of the structure satisfy the predicate . More... | |
struct | boost::mpl11::all_of< structure > |
Equivalent to all<lift<id>, structure> . More... | |
struct | boost::mpl11::none< predicate, structure > |
Returns whether none of the elements of the structure satisfy the predicate . More... | |
struct | boost::mpl11::none_of< structure > |
Equivalent to none<lift<id>, structure> . More... | |
struct | boost::mpl11::any< predicate, structure > |
Returns whether any element of the structure satisfies the predicate . More... | |
struct | boost::mpl11::any_of< structure > |
Equivalent to any<lift<id>, structure> . More... | |
struct | boost::mpl11::sum< structure > |
Compute the sum of the elements of a structure . More... | |
struct | boost::mpl11::product< structure > |
Compute the product of the elements of a structure . More... | |
struct | boost::mpl11::maximum_by< predicate, structure > |
The largest element of a non-empty structure with respect to the given predicate . More... | |
struct | boost::mpl11::maximum< structure > |
Returns the largest element of a non-empty structure. More... | |
struct | boost::mpl11::minimum_by< predicate, structure > |
The least element of a non-empty structure with respect to the given predicate . More... | |
struct | boost::mpl11::minimum< structure > |
Returns the least element of a non-empty structure. More... | |
struct | boost::mpl11::unpack< f, structure > |
Invokes a metafunction class with the contents of a structure. More... | |
The Foldable
typeclass is used for data structures that can be folded.
foldl
, foldl1
, foldr
and foldr1
.
foldl
and foldr
.
unpack
or moving it elsewhere, maybe Functional.