MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
functional.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_FWD_FUNCTIONAL_HPP
13 #define BOOST_MPL11_FWD_FUNCTIONAL_HPP
14 
17 
18 
19 namespace boost { namespace mpl11 {
64  template <typename x>
65  struct always;
66 
74  template <typename f>
75  struct flip;
76 
82  template <typename f, typename ...x>
83  struct apply;
84 
91  template <typename f, typename ...x>
92  struct apply_curried;
93 
95  template <typename x>
97 
103  template <template <typename ...> class f>
104  struct lift;
105 
112  template <template <typename ...> class tp>
113  struct into;
114 
127  template <typename f, typename ...x>
128  struct partial;
129 
138  template <detail::std_size_t n, typename f>
139  struct curry;
140 
148  template <detail::std_size_t n, typename f>
149  struct uncurry;
150 
162  template <typename f>
163  struct fix;
164 
195  template <typename f, typename ...fs>
196  struct compose;
197 
225  template <typename f, typename g>
226  struct argmap;
227 
246  template <typename f, typename ...fs>
247  struct on;
248 
279  template <typename f, typename ...fs>
280  struct bind;
281 
289  template <detail::std_size_t n>
290  struct arg;
291 
301  template <typename x, typename f, typename y>
303 
305  template <typename x, template <typename ...> class f, typename y>
307 
315  template <typename x, typename f>
317 
319  template <typename x, template <typename ...> class f>
321 
329  template <typename f, typename y>
331 
333  template <template <typename ...> class f, typename y>
335 
340  namespace functional {
341  using mpl11::always;
342  using mpl11::apply;
343  using mpl11::apply_curried;
344  using mpl11::arg;
345  using mpl11::argmap;
346  using mpl11::bind;
347  using mpl11::compose;
348  using mpl11::curry;
349  using mpl11::fix;
350  using mpl11::flip;
351  using mpl11::id;
352  using mpl11::infix;
353  using mpl11::infix_;
354  using mpl11::into;
355  using mpl11::lift;
356  using mpl11::lsect;
357  using mpl11::lsect_;
358  using mpl11::on;
359  using mpl11::partial;
360  using mpl11::rsect;
361  using mpl11::rsect_;
362  using mpl11::uncurry;
363  }
365 }} // end namespace boost::mpl11
366 
367 #endif // !BOOST_MPL11_FWD_FUNCTIONAL_HPP
Returns a specialization of the given template with the provided arguments.
Definition: functional.hpp:171
Equivalent to lsect>; provided for convenience.
Definition: functional.hpp:320
Returns a metafunction class computing the least fixed point of f.
Definition: functional.hpp:184
Returns a curried metafunction class.
Definition: functional.hpp:105
Lifts a metafunction.
Definition: functional.hpp:155
Equivalent to infix, y>; provided for convenience.
Definition: functional.hpp:306
Invokes f with the result of invoking each fs... with the arguments.
Definition: functional.hpp:266
Manages configurable options of the library and defines utility macros.
The identity metafunction - returns its argument unchanged.
Definition: functional.hpp:96
Defines boost::mpl11::detail::std_size_t.
Invokes f with the result of invoking fs... on each corresponding argument.
Definition: functional.hpp:242
Returns a uncurried metafunction class.
Definition: functional.hpp:129
Returns the nth of its arguments.
Definition: functional.hpp:294
Returns a constant metafunction class returning x regardless of the arguments it is invoked with...
Definition: functional.hpp:28
Returns the composition of several metafunction classes.
Definition: functional.hpp:213
Returns the right section of f with y.
Definition: functional.hpp:330
Returns a partially applied metafunction class.
Definition: functional.hpp:63
#define BOOST_MPL11_DOXYGEN_ALIAS(NAME,...)
Macro expanding to a struct when generating the documentation and to an alias otherwise.
Definition: config.hpp:56
Applies a metafunction class in infix notation.
Definition: functional.hpp:302
Returns a metafunction class invoking f with its two first arguments in reverse order.
Definition: functional.hpp:47
Returns the left section of f with x.
Definition: functional.hpp:316
Invokes a metafunction class with the given arguments.
Definition: functional.hpp:39
Invokes f with the result of mapping g on each argument.
Definition: functional.hpp:229
Invokes a curried metafunction class with the given arguments.
Definition: functional.hpp:97
Equivalent to rsect, y>; provided for convenience.
Definition: functional.hpp:334