12 #ifndef BOOST_MPL11_FUNCTOR_HPP
13 #define BOOST_MPL11_FUNCTOR_HPP
23 namespace boost {
namespace mpl11 {
24 template <
typename Datatype,
typename>
25 struct Functor : false_ { };
27 template <
typename f,
typename structure>
29 Functor<typename datatype<typename structure::type>::type>::
30 template fmap_impl<f, typename structure::type>
33 #ifndef BOOST_MPL11_NO_REWRITE_RULES
34 template <
typename f,
typename g,
typename structure>
36 :
fmap<compose<f, g>, structure>
41 #endif // !BOOST_MPL11_FUNCTOR_HPP
Manages configurable options of the library and defines utility macros.
Returns the result of mapping a metafunction class over a Functor.
Definition: functor.hpp:28
Forwards to boost/mpl11/integer.hpp.
Forward declares the Functor typeclass.
Defines the Functional module.