12 #ifndef BOOST_MPL11_FWD_LIST_HPP
13 #define BOOST_MPL11_FWD_LIST_HPP
24 namespace boost {
namespace mpl11 {
47 template <
typename ...xs>
51 template <
typename ...xs>
55 template <
typename x,
typename xs>
59 template <
typename xs,
typename x>
63 template <
typename f,
typename x>
77 template <
typename n,
typename xs>
81 template <detail::std_
size_t n,
typename xs>
84 namespace list_detail {
85 template <
typename predicate>
struct take_while_op;
86 template <
typename predicate>
struct filter_op;
93 template <
typename predicate,
typename xs>
98 template <
typename predicate,
typename xs>
103 template <
typename xs>
107 template <
typename predicate,
typename xs>
115 template <
typename f,
typename state,
typename xs>
135 template <
typename f,
typename ...lists>
139 template <
typename ...lists>
148 template <
typename ...lists>
159 template <
typename xs,
typename start,
typename stop>
163 template <
typename xs, detail::std_
size_t start, detail::std_
size_t stop>
167 template <
typename predicate,
typename xs>
176 template <
typename xs>
181 #endif // !BOOST_MPL11_FWD_LIST_HPP
Returns a List containing only the elements satisfying predicate.
Definition: list.hpp:109
Boxes its argument.
Definition: core.hpp:46
Returns the longest prefix of a List in which all elements satisfy the predicate. ...
Definition: list.hpp:95
Forward declares the Functional module.
Equivalent to take, xs>.
Definition: list.hpp:82
Forward declares the Core module.
A List created by prepending an element to an Iterable.
Definition: list.hpp:56
Equivalent to take_while with a negated predicate.
Definition: list.hpp:100
Equivalent to zip_with, lists...>.
Definition: list.hpp:140
Lifts a metafunction.
Definition: functional.hpp:155
Forward declares the Integer datatype.
Returns the elements before the last one of a non-empty list.
Definition: list.hpp:177
Returns a subrange of a list.
Definition: list.hpp:160
Returns an infinite List of repeated applications of f to x.
Definition: list.hpp:64
Manages configurable options of the library and defines utility macros.
Concatenate several lists.
Definition: list.hpp:149
scanl is similar to foldl, but returns a List of successive reduced values from the left...
Definition: list.hpp:116
Returns a list sorted with the predicate.
Definition: list.hpp:168
Forward declares logical metafunctions.
Defines boost::mpl11::detail::std_size_t.
Returns a List with its elements in reverse order.
Definition: list.hpp:104
A List containing the given elements.
Definition: list.hpp:48
Returns an infinite List containing copies of x.
Definition: list.hpp:68
Alias to integer_c; provided for convenience.
Definition: integer.hpp:122
Right-associative fold of a structure using a binary operation.
Definition: foldable.hpp:56
#define BOOST_MPL11_IF_DOXYGEN(...)
Macro expanding to its argument(s) when generating the documentation with Doxygen and to nothing othe...
Definition: config.hpp:45
Returns the composition of several metafunction classes.
Definition: functional.hpp:213
A List created by appending an element to an Iterable.
Definition: list.hpp:60
Constructor equivalent to list, except it takes unboxed arguments.
Definition: list.hpp:52
#define BOOST_MPL11_DOXYGEN_ALIAS(NAME,...)
Macro expanding to a struct when generating the documentation and to an alias otherwise.
Definition: config.hpp:56
Returns a metafunction class invoking f with its two first arguments in reverse order.
Definition: functional.hpp:47
Equivalent to slice, size_t>.
Definition: list.hpp:164
Left-associative fold of a structure using a binary operation.
Definition: foldable.hpp:62
Returns a list of applications of f to the elements of the zipped lists, in lockstep.
Definition: list.hpp:136
Returns the first n elements of a List.
Definition: list.hpp:78
Forward declares the Foldable typeclass.