12 #ifndef BOOST_MPL11_FWD_FOLDABLE_HPP
13 #define BOOST_MPL11_FWD_FOLDABLE_HPP
25 namespace boost {
namespace mpl11 {
46 template <
typename Datatype,
typename = true_>
62 template <
typename f,
typename state,
typename structure>
69 template <
typename f,
typename structure>
89 template <
typename f,
typename state,
typename structure>
96 template <
typename f,
typename structure>
104 template <
typename predicate,
typename structure>
106 compose<lift<and_>, predicate>,
112 template <
typename structure>
119 template <
typename predicate,
typename structure>
124 template <
typename structure>
130 template <
typename predicate,
typename structure>
134 template <
typename structure>
138 template <
typename structure>
143 template <
typename structure>
151 template <
typename predicate,
typename structure>
156 template <
typename structure>
163 template <
typename predicate,
typename structure>
168 template <
typename structure>
178 template <
typename f,
typename structure>
184 #endif // !BOOST_MPL11_FWD_FOLDABLE_HPP
Compute the sum of the elements of a structure.
Definition: foldable.hpp:140
Forward declares the Functional module.
Returns the least element of a non-empty structure.
Definition: foldable.hpp:169
Lifts a metafunction.
Definition: functional.hpp:155
Returns the largest element of a non-empty structure.
Definition: foldable.hpp:157
Forward declares the Integer datatype.
Invokes f with the result of invoking each fs... with the arguments.
Definition: functional.hpp:266
Forwards to boost/mpl11/fwd/integer.hpp.
Manages configurable options of the library and defines utility macros.
Forward declares logical metafunctions.
Additive identity for the given Datatype.
Definition: monoid.hpp:63
Invokes a metafunction class with the contents of a structure.
Definition: foldable.hpp:180
Forward declares the Monoid typeclass.
Equivalent to all, structure>.
Definition: foldable.hpp:113
Returns the nth of its arguments.
Definition: functional.hpp:294
Equivalent to none, structure>.
Definition: foldable.hpp:125
Right-associative fold of a structure using a binary operation.
Definition: foldable.hpp:56
Returns the composition of several metafunction classes.
Definition: functional.hpp:213
Equivalent to any, structure>.
Definition: foldable.hpp:135
Returns whether any element of the structure satisfies the predicate.
Definition: foldable.hpp:131
The largest element of a non-empty structure with respect to the given predicate. ...
Definition: foldable.hpp:153
Multiplicative identity for the given Datatype.
Definition: ring.hpp:63
The least element of a non-empty structure with respect to the given predicate.
Definition: foldable.hpp:165
#define BOOST_MPL11_DOXYGEN_ALIAS(NAME,...)
Macro expanding to a struct when generating the documentation and to an alias otherwise.
Definition: config.hpp:56
Invokes a metafunction class with the given arguments.
Definition: functional.hpp:39
Compute the product of the elements of a structure.
Definition: foldable.hpp:145
Returns whether all the elements of the structure satisfy the predicate.
Definition: foldable.hpp:109
Returns the logical negation (!) of its argument.
Definition: logical.hpp:55
Left-associative fold of a structure using a binary operation.
Definition: foldable.hpp:62
Forward declares the Orderable typeclass.
Variant of foldr that has no base case, and thus may only be applied to non-empty structures...
Definition: foldable.hpp:79
Returns whether none of the elements of the structure satisfy the predicate.
Definition: foldable.hpp:121
Forward declares the Ring typeclass.